Class OccCapacityRequestBaseDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.capacitymanagement.model.OccCapacityRequestBaseDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public final class OccCapacityRequestBaseDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe details of the create capacity request.This model serves as a base for different namespaces. 
 Note: Objects should always be created or deserialized using theOccCapacityRequestBaseDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theOccCapacityRequestBaseDetails.Builder, which maintain a set of all explicitly set fields calledOccCapacityRequestBaseDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classOccCapacityRequestBaseDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description OccCapacityRequestBaseDetails(String resourceType, String workloadType, String sourceWorkloadType, Long expectedHandoverQuantity, Date dateExpectedHandover, Long actualHandoverQuantity, Date dateActualHandover, String availabilityDomain, List<AssociatedOccHandoverResourceBlock> associatedOccHandoverResourceBlockList, String resourceName, Long demandQuantity)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OccCapacityRequestBaseDetails.Builderbuilder()Create a new builder.booleanequals(Object o)LonggetActualHandoverQuantity()The actual handed over quantity of resources at the time of request resolution.List<AssociatedOccHandoverResourceBlock>getAssociatedOccHandoverResourceBlockList()A list containing details about occHandoverResourceBlocks which were handed over for the corresponding resource name.StringgetAvailabilityDomain()The availability domain of the resource which is to be transferred.DategetDateActualHandover()The date on which the actual handover quantity of resources is delivered.DategetDateExpectedHandover()The date on which the latest increment to supplied quantity of resources was delivered.LonggetDemandQuantity()The number of compute server’s with namerequired by the user. LonggetExpectedHandoverQuantity()The incremental quantity of resources supplied as the provisioning is underway.StringgetResourceName()The name of the COMPUTE server shape for which the request is made.StringgetResourceType()The type of the resource against which the user wants to place a capacity request.StringgetSourceWorkloadType()The WorkloadType from where capacity request are to be transferred.StringgetWorkloadType()The type of the workload (Generic/ROW).inthashCode()OccCapacityRequestBaseDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
OccCapacityRequestBaseDetails@Deprecated @ConstructorProperties({"resourceType","workloadType","sourceWorkloadType","expectedHandoverQuantity","dateExpectedHandover","actualHandoverQuantity","dateActualHandover","availabilityDomain","associatedOccHandoverResourceBlockList","resourceName","demandQuantity"}) public OccCapacityRequestBaseDetails(String resourceType, String workloadType, String sourceWorkloadType, Long expectedHandoverQuantity, Date dateExpectedHandover, Long actualHandoverQuantity, Date dateActualHandover, String availabilityDomain, List<AssociatedOccHandoverResourceBlock> associatedOccHandoverResourceBlockList, String resourceName, Long demandQuantity) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static OccCapacityRequestBaseDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic OccCapacityRequestBaseDetails.Builder toBuilder() 
 - 
getResourceTypepublic String getResourceType() The type of the resource against which the user wants to place a capacity request.- Returns:
- the value
 
 - 
getWorkloadTypepublic String getWorkloadType() The type of the workload (Generic/ROW).- Returns:
- the value
 
 - 
getSourceWorkloadTypepublic String getSourceWorkloadType() The WorkloadType from where capacity request are to be transferred.- Returns:
- the value
 
 - 
getExpectedHandoverQuantitypublic Long getExpectedHandoverQuantity() The incremental quantity of resources supplied as the provisioning is underway.- Returns:
- the value
 
 - 
getDateExpectedHandoverpublic Date getDateExpectedHandover() The date on which the latest increment to supplied quantity of resources was delivered.- Returns:
- the value
 
 - 
getActualHandoverQuantitypublic Long getActualHandoverQuantity() The actual handed over quantity of resources at the time of request resolution.- Returns:
- the value
 
 - 
getDateActualHandoverpublic Date getDateActualHandover() The date on which the actual handover quantity of resources is delivered.- Returns:
- the value
 
 - 
getAvailabilityDomainpublic String getAvailabilityDomain() The availability domain of the resource which is to be transferred.Note that this is only required for Capacity Request Transfer requests. - Returns:
- the value
 
 - 
getAssociatedOccHandoverResourceBlockListpublic List<AssociatedOccHandoverResourceBlock> getAssociatedOccHandoverResourceBlockList() A list containing details about occHandoverResourceBlocks which were handed over for the corresponding resource name.- Returns:
- the value
 
 - 
getResourceNamepublic String getResourceName() The name of the COMPUTE server shape for which the request is made.Do not use CAPACITY_CONSTRAINT as the resource name. - Returns:
- the value
 
 - 
getDemandQuantitypublic Long getDemandQuantity() The number of compute server’s with namerequired by the user. - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-