Class OccmDemandSignalDeliverySummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.capacitymanagement.model.OccmDemandSignalDeliverySummary.Builder
 
- 
- Enclosing class:
- OccmDemandSignalDeliverySummary
 
 public static class OccmDemandSignalDeliverySummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OccmDemandSignalDeliverySummary.BuilderacceptedQuantity(Long acceptedQuantity)The quantity of the resource that OCI will supply to the customer.OccmDemandSignalDeliverySummarybuild()OccmDemandSignalDeliverySummary.BuildercompartmentId(String compartmentId)The OCID of the tenancy from which the demand signal delivery resource is created.OccmDemandSignalDeliverySummary.Buildercopy(OccmDemandSignalDeliverySummary model)OccmDemandSignalDeliverySummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.OccmDemandSignalDeliverySummary.BuilderdemandSignalId(String demandSignalId)The OCID of the demand signal under which this delivery will be grouped.OccmDemandSignalDeliverySummary.BuilderdemandSignalItemId(String demandSignalItemId)The OCID of the demand signal item corresponding to which this delivery is made.OccmDemandSignalDeliverySummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.OccmDemandSignalDeliverySummary.Builderid(String id)The OCID of this demand signal delivery resource.OccmDemandSignalDeliverySummary.Builderjustification(String justification)This field could be used by OCI to communicate the reason for accepting or declining the request.OccmDemandSignalDeliverySummary.BuilderlifecycleDetails(OccmDemandSignalDeliverySummary.LifecycleDetails lifecycleDetails)The enum values corresponding to the various states associated with the delivery resource.OccmDemandSignalDeliverySummary.BuilderlifecycleState(OccmDemandSignalDeliverySummary.LifecycleState lifecycleState)The current lifecycle state of the resource.OccmDemandSignalDeliverySummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.OccmDemandSignalDeliverySummary.BuildertimeDelivered(Date timeDelivered)The date on which the OCI delivered the resource to the customers.
 
- 
- 
- 
Method Detail- 
idpublic OccmDemandSignalDeliverySummary.Builder id(String id) The OCID of this demand signal delivery resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic OccmDemandSignalDeliverySummary.Builder compartmentId(String compartmentId) The OCID of the tenancy from which the demand signal delivery resource is created.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
demandSignalIdpublic OccmDemandSignalDeliverySummary.Builder demandSignalId(String demandSignalId) The OCID of the demand signal under which this delivery will be grouped.- Parameters:
- demandSignalId- the value to set
- Returns:
- this builder
 
 - 
demandSignalItemIdpublic OccmDemandSignalDeliverySummary.Builder demandSignalItemId(String demandSignalItemId) The OCID of the demand signal item corresponding to which this delivery is made.- Parameters:
- demandSignalItemId- the value to set
- Returns:
- this builder
 
 - 
acceptedQuantitypublic OccmDemandSignalDeliverySummary.Builder acceptedQuantity(Long acceptedQuantity) The quantity of the resource that OCI will supply to the customer.- Parameters:
- acceptedQuantity- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic OccmDemandSignalDeliverySummary.Builder lifecycleState(OccmDemandSignalDeliverySummary.LifecycleState lifecycleState) The current lifecycle state of the resource.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic OccmDemandSignalDeliverySummary.Builder lifecycleDetails(OccmDemandSignalDeliverySummary.LifecycleDetails lifecycleDetails) The enum values corresponding to the various states associated with the delivery resource.ACCEPTED -> OCI has accepted your resource request and will deliver the quantity as specified by acceptance quantity of this resource. DECLINED -> OCI has declined you resource request. DELIVERED -> OCI has delivered the accepted quantity to the customers. Note: Under extreme rare scenarios the delivery state can toggle between ACCEPTED and DECLINED states - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
justificationpublic OccmDemandSignalDeliverySummary.Builder justification(String justification) This field could be used by OCI to communicate the reason for accepting or declining the request.- Parameters:
- justification- the value to set
- Returns:
- this builder
 
 - 
timeDeliveredpublic OccmDemandSignalDeliverySummary.Builder timeDelivered(Date timeDelivered) The date on which the OCI delivered the resource to the customers.- Parameters:
- timeDelivered- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic OccmDemandSignalDeliverySummary.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 OccmDemandSignalDeliverySummary.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 OccmDemandSignalDeliverySummary.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
 
 - 
buildpublic OccmDemandSignalDeliverySummary build() 
 - 
copypublic OccmDemandSignalDeliverySummary.Builder copy(OccmDemandSignalDeliverySummary model) 
 
- 
 
-