Class UsageLimitSummary


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20190111")
    public final class UsageLimitSummary
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    Encapsulates a collection of Hard and Soft Limits for a resource within a subscription.
    Note: Objects should always be created or deserialized using the UsageLimitSummary.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 UsageLimitSummary.Builder, which maintain a set of all explicitly set fields called UsageLimitSummary.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).
    • Method Detail

      • getTimeCreated

        public Date getTimeCreated()
        Time when the usage limit was created
        Returns:
        the value
      • getEntitlementId

        public String getEntitlementId()
        Entitlement ID of the usage limit
        Returns:
        the value
      • getId

        public String getId()
        The usage limit ID
        Returns:
        the value
      • getTimeModified

        public Date getTimeModified()
        Time when the usage limit was modified
        Returns:
        the value
      • getResourceName

        public String getResourceName()
        The resource for which the limit is defined
        Returns:
        the value
      • getServiceName

        public String getServiceName()
        The service for which the limit is defined
        Returns:
        the value
      • getLimit

        public String getLimit()
        The limit value
        Returns:
        the value
      • getCreatedBy

        public String getCreatedBy()
        The user who created the limit
        Returns:
        the value
      • getModifiedBy

        public String getModifiedBy()
        The user who modified the limit
        Returns:
        the value
      • getAlertLevel

        public BigDecimal getAlertLevel()
        The alert level of the usage limit
        Returns:
        the value
      • getMaxHardLimit

        public String getMaxHardLimit()
        The maximum hard limit set for the usage limit
        Returns:
        the value
      • getSkuPartId

        public String getSkuPartId()
        The SKU for which the usage limit is set
        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