Class InternalOccmDemandSignal.Builder
- java.lang.Object
- 
- com.oracle.bmc.capacitymanagement.model.InternalOccmDemandSignal.Builder
 
- 
- Enclosing class:
- InternalOccmDemandSignal
 
 public static class InternalOccmDemandSignal.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalOccmDemandSignalbuild()InternalOccmDemandSignal.BuildercompartmentId(String compartmentId)The OCID of the tenancy from which the request to create the demand signal was made.InternalOccmDemandSignal.Buildercopy(InternalOccmDemandSignal model)InternalOccmDemandSignal.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.InternalOccmDemandSignal.Builderdescription(String description)A short description about the demand signal.InternalOccmDemandSignal.BuilderdisplayName(String displayName)The display name of the demand signal.InternalOccmDemandSignal.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.InternalOccmDemandSignal.Builderid(String id)The OCID of the demand signal.InternalOccmDemandSignal.BuilderlifecycleDetails(OccmDemandSignal.LifecycleDetails lifecycleDetails)The different states associated with a demand signal.InternalOccmDemandSignal.BuilderlifecycleState(OccmDemandSignal.LifecycleState lifecycleState)The current lifecycle state of the demand signal.InternalOccmDemandSignal.BuilderoccCustomerGroupId(String occCustomerGroupId)The OCID of the customer group in which the demand signal is created.InternalOccmDemandSignal.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.InternalOccmDemandSignal.BuildertimeCreated(Date timeCreated)The time when the demand signal was created.InternalOccmDemandSignal.BuildertimeUpdated(Date timeUpdated)The time when the demand signal was last updated.
 
- 
- 
- 
Method Detail- 
occCustomerGroupIdpublic InternalOccmDemandSignal.Builder occCustomerGroupId(String occCustomerGroupId) The OCID of the customer group in which the demand signal is created.- Parameters:
- occCustomerGroupId- the value to set
- Returns:
- this builder
 
 - 
idpublic InternalOccmDemandSignal.Builder id(String id) The OCID of the demand signal.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic InternalOccmDemandSignal.Builder compartmentId(String compartmentId) The OCID of the tenancy from which the request to create the demand signal was made.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic InternalOccmDemandSignal.Builder displayName(String displayName) The display name of the demand signal.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic InternalOccmDemandSignal.Builder lifecycleDetails(OccmDemandSignal.LifecycleDetails lifecycleDetails) The different states associated with a demand signal.CREATED -> A demand signal is by default created in this state. SUBMITTED -> Once you have reviewed the details of the demand signal, you can transition it to SUBMITTED state so that OCI can start working on it. DELETED -> You can delete a demand signal as long as it is in either CREATED or SUBMITTED state. IN_PROGRESS -> Once OCI starts working on a given demand signal. They transition it to IN_PROGRESS. REJECTED -> OCI can transition the demand signal to this state if all the demand signal items of that demand signal are declined. COMPLETED -> OCI will transition the demand signal to COMPLETED state once the quantities which OCI committed to deliver to you has been delivered. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic InternalOccmDemandSignal.Builder description(String description) A short description about the demand signal.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic InternalOccmDemandSignal.Builder lifecycleState(OccmDemandSignal.LifecycleState lifecycleState) The current lifecycle state of the demand signal.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic InternalOccmDemandSignal.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
 
 - 
definedTagspublic InternalOccmDemandSignal.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
 
 - 
systemTagspublic InternalOccmDemandSignal.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
 
 - 
timeCreatedpublic InternalOccmDemandSignal.Builder timeCreated(Date timeCreated) The time when the demand signal was created.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic InternalOccmDemandSignal.Builder timeUpdated(Date timeUpdated) The time when the demand signal was last updated.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
buildpublic InternalOccmDemandSignal build() 
 - 
copypublic InternalOccmDemandSignal.Builder copy(InternalOccmDemandSignal model) 
 
- 
 
-