@Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public final class OccCapacityRequestComputeDetails extends OccCapacityRequestBaseDetails
The details about the compute servers required for creating a capacity request.
Note: Objects should always be created or deserialized using the OccCapacityRequestComputeDetails.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 OccCapacityRequestComputeDetails.Builder
, which maintain a
set of all explicitly set fields called OccCapacityRequestComputeDetails.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 |
OccCapacityRequestComputeDetails.Builder |
OccCapacityRequestBaseDetails.ResourceType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
OccCapacityRequestComputeDetails(OccAvailabilitySummary.WorkloadType workloadType,
Long expectedHandoverQuantity,
Date dateExpectedHandover,
Long actualHandoverQuantity,
Date dateActualHandover,
String resourceName,
Long demandQuantity)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OccCapacityRequestComputeDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Long |
getDemandQuantity()
The number of compute server’s with name
|
String |
getResourceName()
The name of the COMPUTE server shape for which the request is made.
|
int |
hashCode() |
OccCapacityRequestComputeDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getActualHandoverQuantity, getDateActualHandover, getDateExpectedHandover, getExpectedHandoverQuantity, getWorkloadType
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public OccCapacityRequestComputeDetails(OccAvailabilitySummary.WorkloadType workloadType, Long expectedHandoverQuantity, Date dateExpectedHandover, Long actualHandoverQuantity, Date dateActualHandover, String resourceName, Long demandQuantity)
public static OccCapacityRequestComputeDetails.Builder builder()
Create a new builder.
public OccCapacityRequestComputeDetails.Builder toBuilder()
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 OccCapacityRequestBaseDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class OccCapacityRequestBaseDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class OccCapacityRequestBaseDetails
public int hashCode()
hashCode
in class OccCapacityRequestBaseDetails
Copyright © 2016–2024. All rights reserved.