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 Summary
Nested Classes Modifier and Type Class Description static classOccAvailabilitySummary.Builder
-
Constructor Summary
Constructors 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 Summary
All 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
-
builder
public static OccAvailabilitySummary.Builder builder()
Create a new builder.
-
toBuilder
public OccAvailabilitySummary.Builder toBuilder()
-
getCatalogId
public String getCatalogId()
The OCID of the availability catalog.- Returns:
- the value
-
getNamespace
public Namespace getNamespace()
The name of the OCI service in consideration.For example, Compute, Exadata, and so on.
- Returns:
- the value
-
getDateFinalCustomerOrder
public 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
-
getDateExpectedCapacityHandover
public Date getDateExpectedCapacityHandover()
The date by which the capacity requested by customers before dateFinalCustomerOrder needs to be fulfilled.- Returns:
- the value
-
getResourceType
public String getResourceType()
The different types of resources against which customers can place capacity requests.- Returns:
- the value
-
getWorkloadType
public String getWorkloadType()
The type of workload (Generic/ROW).- Returns:
- the value
-
getResourceName
public String getResourceName()
The name of the resource that the customer can request.- Returns:
- the value
-
getAvailableQuantity
public Long getAvailableQuantity()
The quantity of resource currently available that the customer can request.- Returns:
- the value
-
getTotalAvailableQuantity
public Long getTotalAvailableQuantity()
The total quantity of resource that the customer can request.- Returns:
- the value
-
getDemandedQuantity
public Long getDemandedQuantity()
The quantity of resource currently demanded by the customer.- Returns:
- the value
-
getUnit
public String getUnit()
The unit in which the resource available is measured.- Returns:
- the value
-
getSystemTags
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”}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-