Package com.oracle.bmc.cims.model
Class LimitItem
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cims.model.Item
-
- com.oracle.bmc.cims.model.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 theLimitItem.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 theLimitItem.Builder
, which maintain a set of all explicitly set fields calledLimitItem.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 class
LimitItem.Builder
static class
LimitItem.LimitStatus
The status of the request.
-
Constructor Summary
Constructors Constructor Description LimitItem(String itemKey, String name, Category category, SubCategory subCategory, IssueType issueType, Integer currentLimit, Integer currentUsage, Integer requestedLimit, LimitItem.LimitStatus limitStatus, String customerMessage)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LimitItem.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getCurrentLimit()
The current service limit for the resource.Integer
getCurrentUsage()
The current resource usage.String
getCustomerMessage()
The message to customer for partially approved and rejected limit requestsLimitItem.LimitStatus
getLimitStatus()
The status of the request.Integer
getRequestedLimit()
The new service limit being requested for the resource.int
hashCode()
LimitItem.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.cims.model.Item
getCategory, getIssueType, getItemKey, getName, getSubCategory
-
-
-
-
Constructor Detail
-
LimitItem
@Deprecated public LimitItem(String itemKey, String name, Category category, SubCategory subCategory, IssueType issueType, Integer currentLimit, Integer currentUsage, Integer requestedLimit, LimitItem.LimitStatus limitStatus, String customerMessage)
Deprecated.
-
-
Method Detail
-
builder
public static LimitItem.Builder builder()
Create a new builder.
-
toBuilder
public LimitItem.Builder toBuilder()
-
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.
-
-