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 |
quotaArn(String quotaArn)
The Amazon Resource Name (ARN) of the quota.
|
ServiceQuota.Builder |
quotaCode(String quotaCode)
The quota identifier.
|
ServiceQuota.Builder |
quotaName(String quotaName)
The quota name.
|
ServiceQuota.Builder |
serviceCode(String serviceCode)
The service identifier.
|
ServiceQuota.Builder |
serviceName(String serviceName)
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)
The service identifier.
serviceCode - The service identifier.ServiceQuota.Builder serviceName(String serviceName)
The service name.
serviceName - 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)
The quota identifier.
quotaCode - The quota identifier.ServiceQuota.Builder quotaName(String quotaName)
The quota name.
quotaName - 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 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 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 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)Copyright © 2022. All rights reserved.