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 ItemDetails 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 SummaryNested Classes Modifier and Type Class Description static classLimitItem.Builderstatic classLimitItem.LimitStatusThe status of the request.
 - 
Constructor SummaryConstructors 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 SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LimitItem.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetCurrentLimit()The current service limit for the resource.IntegergetCurrentUsage()The current resource usage.StringgetCustomerMessage()The message to customer for partially approved and rejected limit requestsLimitItem.LimitStatusgetLimitStatus()The status of the request.IntegergetRequestedLimit()The new service limit being requested for the resource.inthashCode()LimitItem.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.cims.model.ItemgetCategory, 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- 
builderpublic static LimitItem.Builder builder() Create a new builder.
 - 
toBuilderpublic LimitItem.Builder toBuilder() 
 - 
getCurrentLimitpublic Integer getCurrentLimit() The current service limit for the resource.- Returns:
- the value
 
 - 
getCurrentUsagepublic Integer getCurrentUsage() The current resource usage.- Returns:
- the value
 
 - 
getRequestedLimitpublic Integer getRequestedLimit() The new service limit being requested for the resource.- Returns:
- the value
 
 - 
getLimitStatuspublic LimitItem.LimitStatus getLimitStatus() The status of the request.- Returns:
- the value
 
 - 
getCustomerMessagepublic String getCustomerMessage() The message to customer for partially approved and rejected limit requests- Returns:
- the value
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.
 
- 
 
-