Class ServiceQuota
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceQuota.Builder,ServiceQuota>
Information about a quota.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanIndicates whether the quota value can be increased.static ServiceQuota.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ErrorReasonThe error code and error reason.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final BooleanIndicates whether the quota is global.final inthashCode()final QuotaPeriodperiod()The period of time.final AppliedLevelEnumSpecifies at which level of granularity that the quota value is applied.final StringSpecifies at which level of granularity that the quota value is applied.final StringquotaArn()The Amazon Resource Name (ARN) of the quota.final StringSpecifies the quota identifier.final QuotaContextInfoThe context for this service quota.final StringSpecifies the quota name.static Class<? extends ServiceQuota.Builder> final StringSpecifies the service identifier.final StringSpecifies the service name.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final Stringunit()The unit of measurement.final MetricInfoInformation about the measurement.final Doublevalue()The quota value.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
serviceCode
Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.
- Returns:
- Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.
-
serviceName
-
quotaArn
The Amazon Resource Name (ARN) of the quota.
- Returns:
- The Amazon Resource Name (ARN) of the quota.
-
quotaCode
Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas operation, and look for the
QuotaCoderesponse in the output for the quota you want.- Returns:
- Specifies the quota identifier. To find the quota code for a specific quota, use the
ListServiceQuotas operation, and look for the
QuotaCoderesponse in the output for the quota you want.
-
quotaName
-
value
-
unit
-
adjustable
Indicates whether the quota value can be increased.
- Returns:
- Indicates whether the quota value can be increased.
-
globalQuota
Indicates whether the quota is global.
- Returns:
- Indicates whether the quota is global.
-
usageMetric
Information about the measurement.
- Returns:
- Information about the measurement.
-
period
-
errorReason
The error code and error reason.
- Returns:
- The error code and error reason.
-
quotaAppliedAtLevel
Specifies at which level of granularity that the quota value is applied.
If the service returns an enum value that is not available in the current SDK version,
quotaAppliedAtLevelwill returnAppliedLevelEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromquotaAppliedAtLevelAsString().- Returns:
- Specifies at which level of granularity that the quota value is applied.
- See Also:
-
quotaAppliedAtLevelAsString
Specifies at which level of granularity that the quota value is applied.
If the service returns an enum value that is not available in the current SDK version,
quotaAppliedAtLevelwill returnAppliedLevelEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromquotaAppliedAtLevelAsString().- Returns:
- Specifies at which level of granularity that the quota value is applied.
- See Also:
-
quotaContext
The context for this service quota.
- Returns:
- The context for this service quota.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceQuota.Builder,ServiceQuota> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-