Class OccHandoverResourceBlockSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.capacitymanagement.model.OccHandoverResourceBlockSummary.Builder
-
- Enclosing class:
- OccHandoverResourceBlockSummary
public static class OccHandoverResourceBlockSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OccHandoverResourceBlockSummary.BuilderassociatedCapacityRequests(List<AssociatedCapacityRequestDetails> associatedCapacityRequests)A list containing details about the capacity requests against which the resources were provisioned by oracle.OccHandoverResourceBlockSummarybuild()OccHandoverResourceBlockSummary.BuildercompartmentId(String compartmentId)The OCID of the compartment where the resource block’s are placed.OccHandoverResourceBlockSummary.Buildercopy(OccHandoverResourceBlockSummary model)OccHandoverResourceBlockSummary.BuilderhandoverDate(Date handoverDate)The date on which the resource was handed over to the customer.OccHandoverResourceBlockSummary.BuilderhandoverResourceName(String handoverResourceName)The name of the resource handed over by oracle.OccHandoverResourceBlockSummary.Builderid(String id)The OCID of the resource block.OccHandoverResourceBlockSummary.Buildernamespace(Namespace namespace)The name of the OCI service in consideration.OccHandoverResourceBlockSummary.BuilderoccCustomerGroupId(String occCustomerGroupId)The OCID of the customer group for which the resources were provisioned.OccHandoverResourceBlockSummary.BuilderplacementDetails(PlacementDetails placementDetails)OccHandoverResourceBlockSummary.BuildertotalHandoverQuantity(Long totalHandoverQuantity)The total quantity of the resource that was made available to the customer by Oracle.
-
-
-
Method Detail
-
id
public OccHandoverResourceBlockSummary.Builder id(String id)
The OCID of the resource block.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public OccHandoverResourceBlockSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment where the resource block’s are placed.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
namespace
public OccHandoverResourceBlockSummary.Builder namespace(Namespace namespace)
The name of the OCI service in consideration.For example Compute, Exadata and so on.
- Parameters:
namespace- the value to set- Returns:
- this builder
-
occCustomerGroupId
public OccHandoverResourceBlockSummary.Builder occCustomerGroupId(String occCustomerGroupId)
The OCID of the customer group for which the resources were provisioned.- Parameters:
occCustomerGroupId- the value to set- Returns:
- this builder
-
handoverDate
public OccHandoverResourceBlockSummary.Builder handoverDate(Date handoverDate)
The date on which the resource was handed over to the customer.- Parameters:
handoverDate- the value to set- Returns:
- this builder
-
handoverResourceName
public OccHandoverResourceBlockSummary.Builder handoverResourceName(String handoverResourceName)
The name of the resource handed over by oracle.For instance for compute namespace this will be the name of the bare metal hardware resource.
- Parameters:
handoverResourceName- the value to set- Returns:
- this builder
-
totalHandoverQuantity
public OccHandoverResourceBlockSummary.Builder totalHandoverQuantity(Long totalHandoverQuantity)
The total quantity of the resource that was made available to the customer by Oracle.- Parameters:
totalHandoverQuantity- the value to set- Returns:
- this builder
-
associatedCapacityRequests
public OccHandoverResourceBlockSummary.Builder associatedCapacityRequests(List<AssociatedCapacityRequestDetails> associatedCapacityRequests)
A list containing details about the capacity requests against which the resources were provisioned by oracle.- Parameters:
associatedCapacityRequests- the value to set- Returns:
- this builder
-
placementDetails
public OccHandoverResourceBlockSummary.Builder placementDetails(PlacementDetails placementDetails)
-
build
public OccHandoverResourceBlockSummary build()
-
copy
public OccHandoverResourceBlockSummary.Builder copy(OccHandoverResourceBlockSummary model)
-
-