public static interface ServiceQuota.Builder extends SdkPojo, CopyableBuilder<ServiceQuota.Builder,ServiceQuota>
| Modifier and Type | Method and Description |
|---|---|
ServiceQuota.Builder |
adjustable(Boolean adjustable)
Indicates whether the quota value can be increased.
|
default ServiceQuota.Builder |
errorReason(Consumer<ErrorReason.Builder> errorReason)
The error code and error reason.
|
ServiceQuota.Builder |
errorReason(ErrorReason errorReason)
The error code and error reason.
|
ServiceQuota.Builder |
globalQuota(Boolean globalQuota)
Indicates whether the quota is global.
|
default ServiceQuota.Builder |
period(Consumer<QuotaPeriod.Builder> period)
The period of time.
|
ServiceQuota.Builder |
period(QuotaPeriod period)
The period of time.
|
ServiceQuota.Builder |
quotaAppliedAtLevel(AppliedLevelEnum quotaAppliedAtLevel)
Specifies at which level of granularity that the quota value is applied.
|
ServiceQuota.Builder |
quotaAppliedAtLevel(String quotaAppliedAtLevel)
Specifies at which level of granularity that the quota value is applied.
|
ServiceQuota.Builder |
quotaArn(String quotaArn)
The Amazon Resource Name (ARN) of the quota.
|
ServiceQuota.Builder |
quotaCode(String quotaCode)
Specifies the quota identifier.
|
default ServiceQuota.Builder |
quotaContext(Consumer<QuotaContextInfo.Builder> quotaContext)
The context for this service quota.
|
ServiceQuota.Builder |
quotaContext(QuotaContextInfo quotaContext)
The context for this service quota.
|
ServiceQuota.Builder |
quotaName(String quotaName)
Specifies the quota name.
|
ServiceQuota.Builder |
serviceCode(String serviceCode)
Specifies the service identifier.
|
ServiceQuota.Builder |
serviceName(String serviceName)
Specifies the service name.
|
ServiceQuota.Builder |
unit(String unit)
The unit of measurement.
|
default ServiceQuota.Builder |
usageMetric(Consumer<MetricInfo.Builder> usageMetric)
Information about the measurement.
|
ServiceQuota.Builder |
usageMetric(MetricInfo usageMetric)
Information about the measurement.
|
ServiceQuota.Builder |
value(Double value)
The quota value.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildServiceQuota.Builder serviceCode(String serviceCode)
Specifies the service identifier. To find the service code value for an Amazon Web Services service, use the ListServices operation.
serviceCode - Specifies the service identifier. To find the service code value for an Amazon Web Services service,
use the ListServices operation.ServiceQuota.Builder serviceName(String serviceName)
Specifies the service name.
serviceName - Specifies the service name.ServiceQuota.Builder quotaArn(String quotaArn)
The Amazon Resource Name (ARN) of the quota.
quotaArn - The Amazon Resource Name (ARN) of the quota.ServiceQuota.Builder quotaCode(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 - 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.ServiceQuota.Builder quotaName(String quotaName)
Specifies the quota name.
quotaName - Specifies the quota name.ServiceQuota.Builder value(Double value)
The quota value.
value - The quota value.ServiceQuota.Builder unit(String unit)
The unit of measurement.
unit - The unit of measurement.ServiceQuota.Builder adjustable(Boolean adjustable)
Indicates whether the quota value can be increased.
adjustable - Indicates whether the quota value can be increased.ServiceQuota.Builder globalQuota(Boolean globalQuota)
Indicates whether the quota is global.
globalQuota - Indicates whether the quota is global.ServiceQuota.Builder usageMetric(MetricInfo usageMetric)
Information about the measurement.
usageMetric - Information about the measurement.default ServiceQuota.Builder usageMetric(Consumer<MetricInfo.Builder> usageMetric)
Information about the measurement.
This is a convenience method that creates an instance of theMetricInfo.Builder avoiding the need to
create one manually via MetricInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to usageMetric(MetricInfo).
usageMetric - a consumer that will call methods on MetricInfo.BuilderusageMetric(MetricInfo)ServiceQuota.Builder period(QuotaPeriod period)
The period of time.
period - The period of time.default ServiceQuota.Builder period(Consumer<QuotaPeriod.Builder> period)
The period of time.
This is a convenience method that creates an instance of theQuotaPeriod.Builder avoiding the need to
create one manually via QuotaPeriod.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to period(QuotaPeriod).
period - a consumer that will call methods on QuotaPeriod.Builderperiod(QuotaPeriod)ServiceQuota.Builder errorReason(ErrorReason errorReason)
The error code and error reason.
errorReason - The error code and error reason.default ServiceQuota.Builder errorReason(Consumer<ErrorReason.Builder> errorReason)
The error code and error reason.
This is a convenience method that creates an instance of theErrorReason.Builder avoiding the need to
create one manually via ErrorReason.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to errorReason(ErrorReason).
errorReason - a consumer that will call methods on ErrorReason.BuildererrorReason(ErrorReason)ServiceQuota.Builder quotaAppliedAtLevel(String quotaAppliedAtLevel)
Specifies at which level of granularity that the quota value is applied.
quotaAppliedAtLevel - Specifies at which level of granularity that the quota value is applied.AppliedLevelEnum,
AppliedLevelEnumServiceQuota.Builder quotaAppliedAtLevel(AppliedLevelEnum quotaAppliedAtLevel)
Specifies at which level of granularity that the quota value is applied.
quotaAppliedAtLevel - Specifies at which level of granularity that the quota value is applied.AppliedLevelEnum,
AppliedLevelEnumServiceQuota.Builder quotaContext(QuotaContextInfo quotaContext)
The context for this service quota.
quotaContext - The context for this service quota.default ServiceQuota.Builder quotaContext(Consumer<QuotaContextInfo.Builder> quotaContext)
The context for this service quota.
This is a convenience method that creates an instance of theQuotaContextInfo.Builder avoiding the
need to create one manually via QuotaContextInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to quotaContext(QuotaContextInfo).
quotaContext - a consumer that will call methods on QuotaContextInfo.BuilderquotaContext(QuotaContextInfo)Copyright © 2023. All rights reserved.