Class InternalOccmDemandSignalDelivery.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.model.InternalOccmDemandSignalDelivery.Builder
-
- Enclosing class:
- InternalOccmDemandSignalDelivery
public static class InternalOccmDemandSignalDelivery.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalOccmDemandSignalDelivery.BuilderacceptedQuantity(Long acceptedQuantity)The quantity of the resource that OCI will supply to the customer.InternalOccmDemandSignalDeliverybuild()InternalOccmDemandSignalDelivery.BuildercompartmentId(String compartmentId)The OCID of the tenancy from which the demand signal delivery resource is created.InternalOccmDemandSignalDelivery.Buildercopy(InternalOccmDemandSignalDelivery model)InternalOccmDemandSignalDelivery.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.InternalOccmDemandSignalDelivery.BuilderdemandSignalId(String demandSignalId)The OCID of the demand signal under which this delivery will be grouped.InternalOccmDemandSignalDelivery.BuilderdemandSignalItemId(String demandSignalItemId)The OCID of the demand signal item corresponding to which this delivery is made.InternalOccmDemandSignalDelivery.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.InternalOccmDemandSignalDelivery.Builderid(String id)The OCID of this demand signal delivery resource.InternalOccmDemandSignalDelivery.Builderjustification(String justification)This field could be used by OCI to communicate the reason for accepting or declining the request.InternalOccmDemandSignalDelivery.BuilderlifecycleDetails(InternalOccmDemandSignalDelivery.LifecycleDetails lifecycleDetails)The enum values corresponding to the various states associated with the delivery resource.InternalOccmDemandSignalDelivery.BuilderlifecycleState(InternalOccmDemandSignalDelivery.LifecycleState lifecycleState)The current lifecycle state of the resource.InternalOccmDemandSignalDelivery.Buildernotes(String notes)This field acts as a notes section for operators.InternalOccmDemandSignalDelivery.BuilderoccCustomerGroupId(String occCustomerGroupId)The OCID of the corresponding customer group to which this demand signal delivery resource belongs to.InternalOccmDemandSignalDelivery.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.InternalOccmDemandSignalDelivery.BuildertimeDelivered(Date timeDelivered)The date on which the OCI delivered the resource to the customers.
-
-
-
Method Detail
-
id
public InternalOccmDemandSignalDelivery.Builder id(String id)
The OCID of this demand signal delivery resource.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public InternalOccmDemandSignalDelivery.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
-
occCustomerGroupId
public InternalOccmDemandSignalDelivery.Builder occCustomerGroupId(String occCustomerGroupId)
The OCID of the corresponding customer group to which this demand signal delivery resource belongs to.- Parameters:
occCustomerGroupId- the value to set- Returns:
- this builder
-
demandSignalId
public InternalOccmDemandSignalDelivery.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
-
demandSignalItemId
public InternalOccmDemandSignalDelivery.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
-
acceptedQuantity
public InternalOccmDemandSignalDelivery.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
-
lifecycleState
public InternalOccmDemandSignalDelivery.Builder lifecycleState(InternalOccmDemandSignalDelivery.LifecycleState lifecycleState)
The current lifecycle state of the resource.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public InternalOccmDemandSignalDelivery.Builder lifecycleDetails(InternalOccmDemandSignalDelivery.LifecycleDetails lifecycleDetails)
The enum values corresponding to the various states associated with the delivery resource.SUBMITTED -> The state where operators have started working and thinking on the quantity that OCI can delivery for the corresponding demand signal item. IN_REVIEW -> The operators are waiting on approvals from different teams/folks in this state. 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: The resource becomes visible to customers in ACCEPTED, DECLINED or DELIVERED state.
- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
justification
public InternalOccmDemandSignalDelivery.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
-
timeDelivered
public InternalOccmDemandSignalDelivery.Builder timeDelivered(Date timeDelivered)
The date on which the OCI delivered the resource to the customers.The default value for this will be the corresponding demand signal item resource’s need by date.
- Parameters:
timeDelivered- the value to set- Returns:
- this builder
-
notes
public InternalOccmDemandSignalDelivery.Builder notes(String notes)
This field acts as a notes section for operators.- Parameters:
notes- the value to set- Returns:
- this builder
-
freeformTags
public InternalOccmDemandSignalDelivery.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 InternalOccmDemandSignalDelivery.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 InternalOccmDemandSignalDelivery.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
-
build
public InternalOccmDemandSignalDelivery build()
-
copy
public InternalOccmDemandSignalDelivery.Builder copy(InternalOccmDemandSignalDelivery model)
-
-