@Generated(value="software.amazon.awssdk:codegen") public final class ServiceQuota extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceQuota.Builder,ServiceQuota>
Information about a quota.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServiceQuota.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
adjustable()
Indicates whether the quota value can be increased.
|
static ServiceQuota.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ErrorReason |
errorReason()
The error code and error reason.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Boolean |
globalQuota()
Indicates whether the quota is global.
|
int |
hashCode() |
QuotaPeriod |
period()
The period of time.
|
AppliedLevelEnum |
quotaAppliedAtLevel()
Specifies at which level of granularity that the quota value is applied.
|
String |
quotaAppliedAtLevelAsString()
Specifies at which level of granularity that the quota value is applied.
|
String |
quotaArn()
The Amazon Resource Name (ARN) of the quota.
|
String |
quotaCode()
Specifies the quota identifier.
|
QuotaContextInfo |
quotaContext()
The context for this service quota.
|
String |
quotaName()
Specifies the quota name.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceQuota.Builder> |
serializableBuilderClass() |
String |
serviceCode()
Specifies the service identifier.
|
String |
serviceName()
Specifies the service name.
|
ServiceQuota.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
unit()
The unit of measurement.
|
MetricInfo |
usageMetric()
Information about the measurement.
|
Double |
value()
The quota value.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String serviceCode()
Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.
public final String serviceName()
Specifies the service name.
public final String quotaArn()
The Amazon Resource Name (ARN) of the quota.
public final String quotaCode()
Specifies the quota identifier. To find the quota code for a specific quota, use the ListServiceQuotas
operation, and look for the QuotaCode response in the output for the quota you want.
QuotaCode response in the output for
the quota you want.public final String quotaName()
Specifies the quota name.
public final Double value()
The quota value.
public final String unit()
The unit of measurement.
public final Boolean adjustable()
Indicates whether the quota value can be increased.
public final Boolean globalQuota()
Indicates whether the quota is global.
public final MetricInfo usageMetric()
Information about the measurement.
public final QuotaPeriod period()
The period of time.
public final ErrorReason errorReason()
The error code and error reason.
public final AppliedLevelEnum 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,
quotaAppliedAtLevel will return AppliedLevelEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from quotaAppliedAtLevelAsString().
AppliedLevelEnumpublic final String 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,
quotaAppliedAtLevel will return AppliedLevelEnum.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from quotaAppliedAtLevelAsString().
AppliedLevelEnumpublic final QuotaContextInfo quotaContext()
The context for this service quota.
public ServiceQuota.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServiceQuota.Builder,ServiceQuota>public static ServiceQuota.Builder builder()
public static Class<? extends ServiceQuota.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.