Class LimitItem


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181231")
    public final class LimitItem
    extends Item
    Details about the LimitItem object.
    Note: Objects should always be created or deserialized using the LimitItem.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 LimitItem.Builder, which maintain a set of all explicitly set fields called LimitItem.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

      • getCurrentLimit

        public Integer getCurrentLimit()
        The current service limit for the resource.
        Returns:
        the value
      • getCurrentUsage

        public Integer getCurrentUsage()
        The current resource usage.
        Returns:
        the value
      • getRequestedLimit

        public Integer getRequestedLimit()
        The new service limit being requested for the resource.
        Returns:
        the value
      • getLimitStatus

        public LimitItem.LimitStatus getLimitStatus()
        The status of the request.
        Returns:
        the value
      • getCustomerMessage

        public String getCustomerMessage()
        The message to customer for partially approved and rejected limit requests
        Returns:
        the value
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Overrides:
        toString in class Item
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class Item
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Item