Class CreateLimitItemDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cims.model.CreateItemDetails
-
- com.oracle.bmc.cims.model.CreateLimitItemDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181231") public final class CreateLimitItemDetails extends CreateItemDetailsDetails about the service limit increase request.Avoid entering confidential information. For information about LIMIT support requests, see Creating a Service Limit Increase Request.
Note: Objects should always be created or deserialized using theCreateLimitItemDetails.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 theCreateLimitItemDetails.Builder, which maintain a set of all explicitly set fields calledCreateLimitItemDetails.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 classCreateLimitItemDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateLimitItemDetails(CreateCategoryDetails category, CreateSubCategoryDetails subCategory, CreateIssueTypeDetails issueType, String name, Integer currentLimit, Integer currentUsage, Integer requestedLimit)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateLimitItemDetails.Builderbuilder()Create a new builder.booleanequals(Object o)IntegergetCurrentLimit()The limit of the resource currently available.IntegergetCurrentUsage()The current usage of the resource.IntegergetRequestedLimit()The new service limit being requested.inthashCode()CreateLimitItemDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.cims.model.CreateItemDetails
getCategory, getIssueType, getName, getSubCategory
-
-
-
-
Constructor Detail
-
CreateLimitItemDetails
@Deprecated public CreateLimitItemDetails(CreateCategoryDetails category, CreateSubCategoryDetails subCategory, CreateIssueTypeDetails issueType, String name, Integer currentLimit, Integer currentUsage, Integer requestedLimit)
Deprecated.
-
-
Method Detail
-
builder
public static CreateLimitItemDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateLimitItemDetails.Builder toBuilder()
-
getCurrentLimit
public Integer getCurrentLimit()
The limit of the resource currently available.- Returns:
- the value
-
getCurrentUsage
public Integer getCurrentUsage()
The current usage of the resource.- Returns:
- the value
-
getRequestedLimit
public Integer getRequestedLimit()
The new service limit being requested.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classCreateItemDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classCreateItemDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCreateItemDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCreateItemDetails
-
-