@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 |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
OccAvailabilitySummary(String catalogId,
Namespace namespace,
Date dateFinalCustomerOrder,
Date dateExpectedCapacityHandover,
String resourceType,
String workloadType,
String resourceName,
Long availableQuantity,
Long totalAvailableQuantity,
Long demandedQuantity,
String unit,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OccAvailabilitySummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Long |
getAvailableQuantity()
The quantity of resource currently available 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.
|
Long |
getDemandedQuantity()
The quantity of resource currently demanded by the customer.
|
Namespace |
getNamespace()
The name of the OCI service in consideration.
|
String |
getResourceName()
The name of the resource that the customer can request.
|
String |
getResourceType()
The different types of resources against which customers can place capacity requests.
|
Map<String,Map<String,Object>> |
getSystemTags()
System tags for this resource.
|
Long |
getTotalAvailableQuantity()
The total quantity of resource that the customer can request.
|
String |
getUnit()
The unit in which the resource available is measured.
|
String |
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","totalAvailableQuantity","demandedQuantity","unit","systemTags"}) public OccAvailabilitySummary(String catalogId, Namespace namespace, Date dateFinalCustomerOrder, Date dateExpectedCapacityHandover, String resourceType, String workloadType, String resourceName, Long availableQuantity, Long totalAvailableQuantity, Long demandedQuantity, String unit, Map<String,Map<String,Object>> systemTags)
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 String getResourceType()
The different types of resources against which customers can place capacity requests.
public String 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 resource currently available that the customer can request.
public Long getTotalAvailableQuantity()
The total quantity of resource that the customer can request.
public Long getDemandedQuantity()
The quantity of resource currently demanded by the customer.
public String getUnit()
The unit in which the resource available is measured.
public Map<String,Map<String,Object>> getSystemTags()
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
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.