Class OccmDemandSignalCatalog.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.model.OccmDemandSignalCatalog.Builder
-
- Enclosing class:
- OccmDemandSignalCatalog
public static class OccmDemandSignalCatalog.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OccmDemandSignalCatalog
build()
OccmDemandSignalCatalog.Builder
compartmentId(String compartmentId)
compartment id from where demand signal catalog is created.OccmDemandSignalCatalog.Builder
copy(OccmDemandSignalCatalog model)
OccmDemandSignalCatalog.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.OccmDemandSignalCatalog.Builder
description(String description)
description of demand signal catalog.OccmDemandSignalCatalog.Builder
displayName(String displayName)
displayName of demand signal catalog.OccmDemandSignalCatalog.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.OccmDemandSignalCatalog.Builder
id(String id)
The ocid of demand signal catalog.OccmDemandSignalCatalog.Builder
lifecycleState(OccmDemandSignalCatalog.LifecycleState lifecycleState)
The current lifecycle state of the resource.OccmDemandSignalCatalog.Builder
occCustomerGroupId(String occCustomerGroupId)
The customer group OCID to which the availability catalog belongs.OccmDemandSignalCatalog.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.OccmDemandSignalCatalog.Builder
timeCreated(Date timeCreated)
The time when the demand signal catalog was created.OccmDemandSignalCatalog.Builder
timeUpdated(Date timeUpdated)
The time when the demand signal catalog was last updated.
-
-
-
Method Detail
-
id
public OccmDemandSignalCatalog.Builder id(String id)
The ocid of demand signal catalog.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public OccmDemandSignalCatalog.Builder compartmentId(String compartmentId)
compartment id from where demand signal catalog is created.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
occCustomerGroupId
public OccmDemandSignalCatalog.Builder occCustomerGroupId(String occCustomerGroupId)
The customer group OCID to which the availability catalog belongs.- Parameters:
occCustomerGroupId
- the value to set- Returns:
- this builder
-
displayName
public OccmDemandSignalCatalog.Builder displayName(String displayName)
displayName of demand signal catalog.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public OccmDemandSignalCatalog.Builder description(String description)
description of demand signal catalog.- Parameters:
description
- the value to set- Returns:
- this builder
-
lifecycleState
public OccmDemandSignalCatalog.Builder lifecycleState(OccmDemandSignalCatalog.LifecycleState lifecycleState)
The current lifecycle state of the resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public OccmDemandSignalCatalog.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public OccmDemandSignalCatalog.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public OccmDemandSignalCatalog.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
timeCreated
public OccmDemandSignalCatalog.Builder timeCreated(Date timeCreated)
The time when the demand signal catalog was created.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public OccmDemandSignalCatalog.Builder timeUpdated(Date timeUpdated)
The time when the demand signal catalog was last updated.- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
build
public OccmDemandSignalCatalog build()
-
copy
public OccmDemandSignalCatalog.Builder copy(OccmDemandSignalCatalog model)
-
-