Class OccAvailabilitySummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.capacitymanagement.model.OccAvailabilitySummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public final class OccAvailabilitySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe 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 theOccAvailabilitySummary.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 theOccAvailabilitySummary.Builder, which maintain a set of all explicitly set fields calledOccAvailabilitySummary.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 SummaryNested Classes Modifier and Type Class Description static classOccAvailabilitySummary.Builder
 - 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OccAvailabilitySummary.Builderbuilder()Create a new builder.booleanequals(Object o)LonggetAvailableQuantity()The quantity of resource currently available that the customer can request.StringgetCatalogId()The OCID of the availability catalog.DategetDateExpectedCapacityHandover()The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.DategetDateFinalCustomerOrder()The date by which the customer must place the order to have their capacity requirements met by the customer handover date.LonggetDemandedQuantity()The quantity of resource currently demanded by the customer.NamespacegetNamespace()The name of the OCI service in consideration.StringgetResourceName()The name of the resource that the customer can request.StringgetResourceType()The different types of resources against which customers can place capacity requests.Map<String,Map<String,Object>>getSystemTags()System tags for this resource.LonggetTotalAvailableQuantity()The total quantity of resource that the customer can request.StringgetUnit()The unit in which the resource available is measured.StringgetWorkloadType()The type of workload (Generic/ROW).inthashCode()OccAvailabilitySummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
OccAvailabilitySummary@Deprecated @ConstructorProperties({"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) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static OccAvailabilitySummary.Builder builder() Create a new builder.
 - 
toBuilderpublic OccAvailabilitySummary.Builder toBuilder() 
 - 
getCatalogIdpublic String getCatalogId() The OCID of the availability catalog.- Returns:
- the value
 
 - 
getNamespacepublic Namespace getNamespace() The name of the OCI service in consideration.For example, Compute, Exadata, and so on. - Returns:
- the value
 
 - 
getDateFinalCustomerOrderpublic Date getDateFinalCustomerOrder() The date by which the customer must place the order to have their capacity requirements met by the customer handover date.- Returns:
- the value
 
 - 
getDateExpectedCapacityHandoverpublic Date getDateExpectedCapacityHandover() The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.- Returns:
- the value
 
 - 
getResourceTypepublic String getResourceType() The different types of resources against which customers can place capacity requests.- Returns:
- the value
 
 - 
getWorkloadTypepublic String getWorkloadType() The type of workload (Generic/ROW).- Returns:
- the value
 
 - 
getResourceNamepublic String getResourceName() The name of the resource that the customer can request.- Returns:
- the value
 
 - 
getAvailableQuantitypublic Long getAvailableQuantity() The quantity of resource currently available that the customer can request.- Returns:
- the value
 
 - 
getTotalAvailableQuantitypublic Long getTotalAvailableQuantity() The total quantity of resource that the customer can request.- Returns:
- the value
 
 - 
getDemandedQuantitypublic Long getDemandedQuantity() The quantity of resource currently demanded by the customer.- Returns:
- the value
 
 - 
getUnitpublic String getUnit() The unit in which the resource available is measured.- Returns:
- the value
 
 - 
getSystemTagspublic 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”}} - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-