Package com.oracle.bmc.usage.model
Class UsageLimitSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.usage.model.UsageLimitSummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190111") public final class UsageLimitSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelEncapsulates a collection of Hard and Soft Limits for a resource within a subscription.
 Note: Objects should always be created or deserialized using theUsageLimitSummary.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 theUsageLimitSummary.Builder, which maintain a set of all explicitly set fields calledUsageLimitSummary.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 classUsageLimitSummary.ActionThe action when usage limit is hitstatic classUsageLimitSummary.Builderstatic classUsageLimitSummary.LifecycleStateThe usage limit lifecycle state.static classUsageLimitSummary.LimitTypeThe limit type of the usage limitstatic classUsageLimitSummary.ValueTypeThe value type of the usage limit
 - 
Constructor SummaryConstructors Constructor Description UsageLimitSummary(Date timeCreated, String entitlementId, String id, Date timeModified, String resourceName, String serviceName, String limit, String createdBy, String modifiedBy, UsageLimitSummary.Action action, BigDecimal alertLevel, UsageLimitSummary.LimitType limitType, UsageLimitSummary.ValueType valueType, UsageLimitSummary.LifecycleState lifecycleState, String maxHardLimit, String skuPartId)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UsageLimitSummary.Builderbuilder()Create a new builder.booleanequals(Object o)UsageLimitSummary.ActiongetAction()The action when usage limit is hitBigDecimalgetAlertLevel()The alert level of the usage limitStringgetCreatedBy()The user who created the limitStringgetEntitlementId()Entitlement ID of the usage limitStringgetId()The usage limit IDUsageLimitSummary.LifecycleStategetLifecycleState()The usage limit lifecycle state.StringgetLimit()The limit valueUsageLimitSummary.LimitTypegetLimitType()The limit type of the usage limitStringgetMaxHardLimit()The maximum hard limit set for the usage limitStringgetModifiedBy()The user who modified the limitStringgetResourceName()The resource for which the limit is definedStringgetServiceName()The service for which the limit is definedStringgetSkuPartId()The SKU for which the usage limit is setDategetTimeCreated()Time when the usage limit was createdDategetTimeModified()Time when the usage limit was modifiedUsageLimitSummary.ValueTypegetValueType()The value type of the usage limitinthashCode()UsageLimitSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
UsageLimitSummary@Deprecated @ConstructorProperties({"timeCreated","entitlementId","id","timeModified","resourceName","serviceName","limit","createdBy","modifiedBy","action","alertLevel","limitType","valueType","lifecycleState","maxHardLimit","skuPartId"}) public UsageLimitSummary(Date timeCreated, String entitlementId, String id, Date timeModified, String resourceName, String serviceName, String limit, String createdBy, String modifiedBy, UsageLimitSummary.Action action, BigDecimal alertLevel, UsageLimitSummary.LimitType limitType, UsageLimitSummary.ValueType valueType, UsageLimitSummary.LifecycleState lifecycleState, String maxHardLimit, String skuPartId) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static UsageLimitSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic UsageLimitSummary.Builder toBuilder() 
 - 
getTimeCreatedpublic Date getTimeCreated() Time when the usage limit was created- Returns:
- the value
 
 - 
getEntitlementIdpublic String getEntitlementId() Entitlement ID of the usage limit- Returns:
- the value
 
 - 
getIdpublic String getId() The usage limit ID- Returns:
- the value
 
 - 
getTimeModifiedpublic Date getTimeModified() Time when the usage limit was modified- Returns:
- the value
 
 - 
getResourceNamepublic String getResourceName() The resource for which the limit is defined- Returns:
- the value
 
 - 
getServiceNamepublic String getServiceName() The service for which the limit is defined- Returns:
- the value
 
 - 
getLimitpublic String getLimit() The limit value- Returns:
- the value
 
 - 
getCreatedBypublic String getCreatedBy() The user who created the limit- Returns:
- the value
 
 - 
getModifiedBypublic String getModifiedBy() The user who modified the limit- Returns:
- the value
 
 - 
getActionpublic UsageLimitSummary.Action getAction() The action when usage limit is hit- Returns:
- the value
 
 - 
getAlertLevelpublic BigDecimal getAlertLevel() The alert level of the usage limit- Returns:
- the value
 
 - 
getLimitTypepublic UsageLimitSummary.LimitType getLimitType() The limit type of the usage limit- Returns:
- the value
 
 - 
getValueTypepublic UsageLimitSummary.ValueType getValueType() The value type of the usage limit- Returns:
- the value
 
 - 
getLifecycleStatepublic UsageLimitSummary.LifecycleState getLifecycleState() The usage limit lifecycle state.- Returns:
- the value
 
 - 
getMaxHardLimitpublic String getMaxHardLimit() The maximum hard limit set for the usage limit- Returns:
- the value
 
 - 
getSkuPartIdpublic String getSkuPartId() The SKU for which the usage limit is set- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-