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 Summary
Nested Classes Modifier and Type Class Description static classOccCapacityRequestBaseDetails.Builder
-
Constructor Summary
Constructors 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 Summary
All 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
-
builder
public static OccCapacityRequestBaseDetails.Builder builder()
Create a new builder.
-
toBuilder
public OccCapacityRequestBaseDetails.Builder toBuilder()
-
getResourceType
public String getResourceType()
The type of the resource against which the user wants to place a capacity request.- Returns:
- the value
-
getWorkloadType
public String getWorkloadType()
The type of the workload (Generic/ROW).- Returns:
- the value
-
getSourceWorkloadType
public String getSourceWorkloadType()
The WorkloadType from where capacity request are to be transferred.- Returns:
- the value
-
getExpectedHandoverQuantity
public Long getExpectedHandoverQuantity()
The incremental quantity of resources supplied as the provisioning is underway.- Returns:
- the value
-
getDateExpectedHandover
public Date getDateExpectedHandover()
The date on which the latest increment to supplied quantity of resources was delivered.- Returns:
- the value
-
getActualHandoverQuantity
public Long getActualHandoverQuantity()
The actual handed over quantity of resources at the time of request resolution.- Returns:
- the value
-
getDateActualHandover
public Date getDateActualHandover()
The date on which the actual handover quantity of resources is delivered.- Returns:
- the value
-
getAvailabilityDomain
public 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
-
getAssociatedOccHandoverResourceBlockList
public List<AssociatedOccHandoverResourceBlock> getAssociatedOccHandoverResourceBlockList()
A list containing details about occHandoverResourceBlocks which were handed over for the corresponding resource name.- Returns:
- the value
-
getResourceName
public 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
-
getDemandQuantity
public Long getDemandQuantity()
The number of compute server’s with namerequired by the user. - Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-