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