Class InternalOccmDemandSignalDeliverySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.model.InternalOccmDemandSignalDeliverySummary.Builder
-
- Enclosing class:
- InternalOccmDemandSignalDeliverySummary
public static class InternalOccmDemandSignalDeliverySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalOccmDemandSignalDeliverySummary.Builder
acceptedQuantity(Long acceptedQuantity)
The quantity of the resource that OCI will supply to the customer.InternalOccmDemandSignalDeliverySummary
build()
InternalOccmDemandSignalDeliverySummary.Builder
compartmentId(String compartmentId)
The OCID of the tenancy from which the demand signal delivery resource is created.InternalOccmDemandSignalDeliverySummary.Builder
copy(InternalOccmDemandSignalDeliverySummary model)
InternalOccmDemandSignalDeliverySummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.InternalOccmDemandSignalDeliverySummary.Builder
demandSignalId(String demandSignalId)
The OCID of the demand signal under which this delivery will be grouped.InternalOccmDemandSignalDeliverySummary.Builder
demandSignalItemId(String demandSignalItemId)
The OCID of the demand signal item corresponding to which this delivery is made.InternalOccmDemandSignalDeliverySummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.InternalOccmDemandSignalDeliverySummary.Builder
id(String id)
The OCID of this demand signal delivery resource.InternalOccmDemandSignalDeliverySummary.Builder
justification(String justification)
This field could be used by OCI to communicate the reason for declining the request.InternalOccmDemandSignalDeliverySummary.Builder
lifecycleDetails(InternalOccmDemandSignalDelivery.LifecycleDetails lifecycleDetails)
The enum values corresponding to the various states associated with the delivery resource.InternalOccmDemandSignalDeliverySummary.Builder
lifecycleState(InternalOccmDemandSignalDelivery.LifecycleState lifecycleState)
The current lifecycle state of the resource.InternalOccmDemandSignalDeliverySummary.Builder
notes(String notes)
This field acts as a notes section for operators.InternalOccmDemandSignalDeliverySummary.Builder
occCustomerGroupId(String occCustomerGroupId)
The OCID of the corresponding customer group to which this demand signal delivery resource belongs to.InternalOccmDemandSignalDeliverySummary.Builder
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.InternalOccmDemandSignalDeliverySummary.Builder
timeDelivered(Date timeDelivered)
The date on which the OCI delivered the resource to the customers.
-
-
-
Method Detail
-
id
public InternalOccmDemandSignalDeliverySummary.Builder id(String id)
The OCID of this demand signal delivery resource.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public InternalOccmDemandSignalDeliverySummary.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 InternalOccmDemandSignalDeliverySummary.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 InternalOccmDemandSignalDeliverySummary.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 InternalOccmDemandSignalDeliverySummary.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 InternalOccmDemandSignalDeliverySummary.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 InternalOccmDemandSignalDeliverySummary.Builder lifecycleState(InternalOccmDemandSignalDelivery.LifecycleState lifecycleState)
The current lifecycle state of the resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public InternalOccmDemandSignalDeliverySummary.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 InternalOccmDemandSignalDeliverySummary.Builder justification(String justification)
This field could be used by OCI to communicate the reason for declining the request.- Parameters:
justification
- the value to set- Returns:
- this builder
-
timeDelivered
public InternalOccmDemandSignalDeliverySummary.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
-
notes
public InternalOccmDemandSignalDeliverySummary.Builder notes(String notes)
This field acts as a notes section for operators.- Parameters:
notes
- the value to set- Returns:
- this builder
-
freeformTags
public InternalOccmDemandSignalDeliverySummary.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 InternalOccmDemandSignalDeliverySummary.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 InternalOccmDemandSignalDeliverySummary.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 InternalOccmDemandSignalDeliverySummary build()
-
copy
public InternalOccmDemandSignalDeliverySummary.Builder copy(InternalOccmDemandSignalDeliverySummary model)
-
-