@Generated(value="OracleSDKGenerator", comments="API Version: 20181231") public final class LimitItem extends Item
Details of Limit Item
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 __explicitlySet__. The hashCode() and equals(Object) methods are implemented to take __explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__ (since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
LimitItem.Builder |
static class |
LimitItem.LimitStatus
Status of the Limit
|
| Constructor and Description |
|---|
LimitItem(String itemKey,
String name,
Category category,
SubCategory subCategory,
IssueType issueType,
Integer currentLimit,
Integer currentUsage,
Integer requestedLimit,
LimitItem.LimitStatus limitStatus)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static LimitItem.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Integer |
getCurrentLimit()
Current available limit of the resource
|
Integer |
getCurrentUsage()
Current used limit of the resource
|
LimitItem.LimitStatus |
getLimitStatus()
Status of the Limit
|
Integer |
getRequestedLimit()
Requested limit for the resource
|
int |
hashCode() |
String |
toString() |
getCategory, getIssueType, getItemKey, getName, getSubCategory@Deprecated public LimitItem(String itemKey, String name, Category category, SubCategory subCategory, IssueType issueType, Integer currentLimit, Integer currentUsage, Integer requestedLimit, LimitItem.LimitStatus limitStatus)
public static LimitItem.Builder builder()
Create a new builder.
public Integer getCurrentLimit()
Current available limit of the resource
public Integer getCurrentUsage()
Current used limit of the resource
public Integer getRequestedLimit()
Requested limit for the resource
public LimitItem.LimitStatus getLimitStatus()
Status of the Limit
Copyright © 2016–2020. All rights reserved.