@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
).
Modifier and Type | Class and Description |
---|---|
static class |
LimitItem.Builder |
static class |
LimitItem.LimitStatus
The status of the request.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
LimitItem(String itemKey,
String name,
Category category,
SubCategory subCategory,
IssueType issueType,
Integer currentLimit,
Integer currentUsage,
Integer requestedLimit,
LimitItem.LimitStatus limitStatus,
String customerMessage)
Deprecated.
|
Modifier and Type | Method and 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()
Message to customer for partial approval and rejected limit requests
|
LimitItem.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.
|
getCategory, getIssueType, getItemKey, getName, getSubCategory
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public LimitItem(String itemKey, String name, Category category, SubCategory subCategory, IssueType issueType, Integer currentLimit, Integer currentUsage, Integer requestedLimit, LimitItem.LimitStatus limitStatus, String customerMessage)
public static LimitItem.Builder builder()
Create a new builder.
public LimitItem.Builder toBuilder()
public Integer getCurrentLimit()
The current service limit for the resource.
public Integer getCurrentUsage()
The current resource usage.
public Integer getRequestedLimit()
The new service limit being requested for the resource.
public LimitItem.LimitStatus getLimitStatus()
The status of the request.
public String getCustomerMessage()
Message to customer for partial approval and rejected limit requests
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
Copyright © 2016–2024. All rights reserved.