@Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public final class OccAvailabilitySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The details about the available capacity and constraints for different resource types present in
the availability catalog.
Note: Objects should always be created or deserialized using the OccAvailabilitySummary.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 OccAvailabilitySummary.Builder
, which maintain a
set of all explicitly set fields called OccAvailabilitySummary.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 |
OccAvailabilitySummary.Builder |
static class |
OccAvailabilitySummary.ResourceType
The different types of resources against which customers can place capacity requests.
|
static class |
OccAvailabilitySummary.WorkloadType
The type of workload (Generic/ROW).
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
OccAvailabilitySummary(String catalogId,
Namespace namespace,
Date dateFinalCustomerOrder,
Date dateExpectedCapacityHandover,
OccAvailabilitySummary.ResourceType resourceType,
OccAvailabilitySummary.WorkloadType workloadType,
String resourceName,
Long availableQuantity,
String unit)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OccAvailabilitySummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Long |
getAvailableQuantity()
The quantity of available resource that the customer can request.
|
String |
getCatalogId()
The OCID of the availability catalog.
|
Date |
getDateExpectedCapacityHandover()
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to
be fulfilled.
|
Date |
getDateFinalCustomerOrder()
The date by which the customer must place the order to have their capacity requirements met
by the customer handover date.
|
Namespace |
getNamespace()
The name of the OCI service in consideration.
|
String |
getResourceName()
The name of the resource that the customer can request.
|
OccAvailabilitySummary.ResourceType |
getResourceType()
The different types of resources against which customers can place capacity requests.
|
String |
getUnit()
The unit in which the resource available is measured.
|
OccAvailabilitySummary.WorkloadType |
getWorkloadType()
The type of workload (Generic/ROW).
|
int |
hashCode() |
OccAvailabilitySummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"catalogId","namespace","dateFinalCustomerOrder","dateExpectedCapacityHandover","resourceType","workloadType","resourceName","availableQuantity","unit"}) public OccAvailabilitySummary(String catalogId, Namespace namespace, Date dateFinalCustomerOrder, Date dateExpectedCapacityHandover, OccAvailabilitySummary.ResourceType resourceType, OccAvailabilitySummary.WorkloadType workloadType, String resourceName, Long availableQuantity, String unit)
public static OccAvailabilitySummary.Builder builder()
Create a new builder.
public OccAvailabilitySummary.Builder toBuilder()
public String getCatalogId()
The OCID of the availability catalog.
public Namespace getNamespace()
The name of the OCI service in consideration. For example, Compute, Exadata, and so on.
public Date getDateFinalCustomerOrder()
The date by which the customer must place the order to have their capacity requirements met by the customer handover date.
public Date getDateExpectedCapacityHandover()
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.
public OccAvailabilitySummary.ResourceType getResourceType()
The different types of resources against which customers can place capacity requests.
public OccAvailabilitySummary.WorkloadType getWorkloadType()
The type of workload (Generic/ROW).
public String getResourceName()
The name of the resource that the customer can request.
public Long getAvailableQuantity()
The quantity of available resource that the customer can request.
public String getUnit()
The unit in which the resource available is measured.
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.