@Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public final class OccCapacityRequestBaseDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The details of the create capacity request. This model serves as a base for different namespaces.
Note: Objects should always be created or deserialized using the OccCapacityRequestBaseDetails.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 the OccCapacityRequestBaseDetails.Builder
, which maintain a
set of all explicitly set fields called OccCapacityRequestBaseDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
OccCapacityRequestBaseDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static OccCapacityRequestBaseDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Long |
getActualHandoverQuantity()
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.
|
String |
getAvailabilityDomain()
The availability domain of the resource which is to be transferred.
|
Date |
getDateActualHandover()
The date on which the actual handover quantity of resources is delivered.
|
Date |
getDateExpectedHandover()
The date on which the latest increment to supplied quantity of resources was delivered.
|
Long |
getDemandQuantity()
The number of compute server’s with name
|
Long |
getExpectedHandoverQuantity()
The incremental quantity of resources supplied as the provisioning is underway.
|
String |
getResourceName()
The name of the COMPUTE server shape for which the request is made.
|
String |
getResourceType()
The type of the resource against which the user wants to place a capacity request.
|
String |
getSourceWorkloadType()
The WorkloadType from where capacity request are to be transferred.
|
String |
getWorkloadType()
The type of the workload (Generic/ROW).
|
int |
hashCode() |
OccCapacityRequestBaseDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static OccCapacityRequestBaseDetails.Builder builder()
Create a new builder.
public OccCapacityRequestBaseDetails.Builder toBuilder()
public String getResourceType()
The type of the resource against which the user wants to place a capacity request.
public String getWorkloadType()
The type of the workload (Generic/ROW).
public String getSourceWorkloadType()
The WorkloadType from where capacity request are to be transferred.
public Long getExpectedHandoverQuantity()
The incremental quantity of resources supplied as the provisioning is underway.
public Date getDateExpectedHandover()
The date on which the latest increment to supplied quantity of resources was delivered.
public Long getActualHandoverQuantity()
The actual handed over quantity of resources at the time of request resolution.
public Date getDateActualHandover()
The date on which the actual handover quantity of resources is delivered.
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.
public List<AssociatedOccHandoverResourceBlock> getAssociatedOccHandoverResourceBlockList()
A list containing details about occHandoverResourceBlocks which were handed over for the corresponding resource name.
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.
public Long getDemandQuantity()
The number of compute server’s with name
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.