Class OccCapacityRequestBaseDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.model.OccCapacityRequestBaseDetails.Builder
-
- Enclosing class:
- OccCapacityRequestBaseDetails
public static class OccCapacityRequestBaseDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OccCapacityRequestBaseDetails.Builder
actualHandoverQuantity(Long actualHandoverQuantity)
The actual handed over quantity of resources at the time of request resolution.OccCapacityRequestBaseDetails.Builder
associatedOccHandoverResourceBlockList(List<AssociatedOccHandoverResourceBlock> associatedOccHandoverResourceBlockList)
A list containing details about occHandoverResourceBlocks which were handed over for the corresponding resource name.OccCapacityRequestBaseDetails.Builder
availabilityDomain(String availabilityDomain)
The availability domain of the resource which is to be transferred.OccCapacityRequestBaseDetails
build()
OccCapacityRequestBaseDetails.Builder
copy(OccCapacityRequestBaseDetails model)
OccCapacityRequestBaseDetails.Builder
dateActualHandover(Date dateActualHandover)
The date on which the actual handover quantity of resources is delivered.OccCapacityRequestBaseDetails.Builder
dateExpectedHandover(Date dateExpectedHandover)
The date on which the latest increment to supplied quantity of resources was delivered.OccCapacityRequestBaseDetails.Builder
demandQuantity(Long demandQuantity)
The number of compute server’s with namerequired by the user. OccCapacityRequestBaseDetails.Builder
expectedHandoverQuantity(Long expectedHandoverQuantity)
The incremental quantity of resources supplied as the provisioning is underway.OccCapacityRequestBaseDetails.Builder
resourceName(String resourceName)
The name of the COMPUTE server shape for which the request is made.OccCapacityRequestBaseDetails.Builder
resourceType(String resourceType)
The type of the resource against which the user wants to place a capacity request.OccCapacityRequestBaseDetails.Builder
sourceWorkloadType(String sourceWorkloadType)
The WorkloadType from where capacity request are to be transferred.OccCapacityRequestBaseDetails.Builder
workloadType(String workloadType)
The type of the workload (Generic/ROW).
-
-
-
Method Detail
-
resourceType
public OccCapacityRequestBaseDetails.Builder resourceType(String resourceType)
The type of the resource against which the user wants to place a capacity request.- Parameters:
resourceType
- the value to set- Returns:
- this builder
-
workloadType
public OccCapacityRequestBaseDetails.Builder workloadType(String workloadType)
The type of the workload (Generic/ROW).- Parameters:
workloadType
- the value to set- Returns:
- this builder
-
sourceWorkloadType
public OccCapacityRequestBaseDetails.Builder sourceWorkloadType(String sourceWorkloadType)
The WorkloadType from where capacity request are to be transferred.- Parameters:
sourceWorkloadType
- the value to set- Returns:
- this builder
-
expectedHandoverQuantity
public OccCapacityRequestBaseDetails.Builder expectedHandoverQuantity(Long expectedHandoverQuantity)
The incremental quantity of resources supplied as the provisioning is underway.- Parameters:
expectedHandoverQuantity
- the value to set- Returns:
- this builder
-
dateExpectedHandover
public OccCapacityRequestBaseDetails.Builder dateExpectedHandover(Date dateExpectedHandover)
The date on which the latest increment to supplied quantity of resources was delivered.- Parameters:
dateExpectedHandover
- the value to set- Returns:
- this builder
-
actualHandoverQuantity
public OccCapacityRequestBaseDetails.Builder actualHandoverQuantity(Long actualHandoverQuantity)
The actual handed over quantity of resources at the time of request resolution.- Parameters:
actualHandoverQuantity
- the value to set- Returns:
- this builder
-
dateActualHandover
public OccCapacityRequestBaseDetails.Builder dateActualHandover(Date dateActualHandover)
The date on which the actual handover quantity of resources is delivered.- Parameters:
dateActualHandover
- the value to set- Returns:
- this builder
-
availabilityDomain
public OccCapacityRequestBaseDetails.Builder availabilityDomain(String availabilityDomain)
The availability domain of the resource which is to be transferred.Note that this is only required for Capacity Request Transfer requests.
- Parameters:
availabilityDomain
- the value to set- Returns:
- this builder
-
associatedOccHandoverResourceBlockList
public OccCapacityRequestBaseDetails.Builder associatedOccHandoverResourceBlockList(List<AssociatedOccHandoverResourceBlock> associatedOccHandoverResourceBlockList)
A list containing details about occHandoverResourceBlocks which were handed over for the corresponding resource name.- Parameters:
associatedOccHandoverResourceBlockList
- the value to set- Returns:
- this builder
-
resourceName
public OccCapacityRequestBaseDetails.Builder resourceName(String resourceName)
The name of the COMPUTE server shape for which the request is made.Do not use CAPACITY_CONSTRAINT as the resource name.
- Parameters:
resourceName
- the value to set- Returns:
- this builder
-
demandQuantity
public OccCapacityRequestBaseDetails.Builder demandQuantity(Long demandQuantity)
The number of compute server’s with namerequired by the user. - Parameters:
demandQuantity
- the value to set- Returns:
- this builder
-
build
public OccCapacityRequestBaseDetails build()
-
copy
public OccCapacityRequestBaseDetails.Builder copy(OccCapacityRequestBaseDetails model)
-
-