Class OccAvailabilitySummary


  • @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).
    • 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

      • 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:
        toString in class com.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:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel