public static interface ServiceQuota.Builder extends SdkPojo, CopyableBuilder<ServiceQuota.Builder,ServiceQuota>
| Modifier and Type | Method and Description |
|---|---|
ServiceQuota.Builder |
adjustable(Boolean adjustable)
Specifies if the quota value can be increased.
|
default ServiceQuota.Builder |
errorReason(Consumer<ErrorReason.Builder> errorReason)
Specifies the
ErrorCode and ErrorMessage when success isn't achieved. |
ServiceQuota.Builder |
errorReason(ErrorReason errorReason)
Specifies the
ErrorCode and ErrorMessage when success isn't achieved. |
ServiceQuota.Builder |
globalQuota(Boolean globalQuota)
Specifies if the quota is global.
|
default ServiceQuota.Builder |
period(Consumer<QuotaPeriod.Builder> period)
Identifies the unit and value of how time is measured.
|
ServiceQuota.Builder |
period(QuotaPeriod period)
Identifies the unit and value of how time is measured.
|
ServiceQuota.Builder |
quotaArn(String quotaArn)
The Amazon Resource Name (ARN) of the service quota.
|
ServiceQuota.Builder |
quotaCode(String quotaCode)
The code identifier for the service quota specified.
|
ServiceQuota.Builder |
quotaName(String quotaName)
The name identifier of the service quota.
|
ServiceQuota.Builder |
serviceCode(String serviceCode)
Specifies the service that you want to use.
|
ServiceQuota.Builder |
serviceName(String serviceName)
The name of the AWS service specified in the increase request.
|
ServiceQuota.Builder |
unit(String unit)
The unit of measurement for the value of the service quota.
|
default ServiceQuota.Builder |
usageMetric(Consumer<MetricInfo.Builder> usageMetric)
Specifies the details about the measurement.
|
ServiceQuota.Builder |
usageMetric(MetricInfo usageMetric)
Specifies the details about the measurement.
|
ServiceQuota.Builder |
value(Double value)
The value of service quota.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildServiceQuota.Builder serviceCode(String serviceCode)
Specifies the service that you want to use.
serviceCode - Specifies the service that you want to use.ServiceQuota.Builder serviceName(String serviceName)
The name of the AWS service specified in the increase request.
serviceName - The name of the AWS service specified in the increase request.ServiceQuota.Builder quotaArn(String quotaArn)
The Amazon Resource Name (ARN) of the service quota.
quotaArn - The Amazon Resource Name (ARN) of the service quota.ServiceQuota.Builder quotaCode(String quotaCode)
The code identifier for the service quota specified.
quotaCode - The code identifier for the service quota specified.ServiceQuota.Builder quotaName(String quotaName)
The name identifier of the service quota.
quotaName - The name identifier of the service quota.ServiceQuota.Builder value(Double value)
The value of service quota.
value - The value of service quota.ServiceQuota.Builder unit(String unit)
The unit of measurement for the value of the service quota.
unit - The unit of measurement for the value of the service quota.ServiceQuota.Builder adjustable(Boolean adjustable)
Specifies if the quota value can be increased.
adjustable - Specifies if the quota value can be increased.ServiceQuota.Builder globalQuota(Boolean globalQuota)
Specifies if the quota is global.
globalQuota - Specifies if the quota is global.ServiceQuota.Builder usageMetric(MetricInfo usageMetric)
Specifies the details about the measurement.
usageMetric - Specifies the details about the measurement.default ServiceQuota.Builder usageMetric(Consumer<MetricInfo.Builder> usageMetric)
Specifies the details 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)
Identifies the unit and value of how time is measured.
period - Identifies the unit and value of how time is measured.default ServiceQuota.Builder period(Consumer<QuotaPeriod.Builder> period)
Identifies the unit and value of how time is measured.
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)
Specifies the ErrorCode and ErrorMessage when success isn't achieved.
errorReason - Specifies the ErrorCode and ErrorMessage when success isn't achieved.default ServiceQuota.Builder errorReason(Consumer<ErrorReason.Builder> errorReason)
Specifies the ErrorCode and ErrorMessage when success isn't achieved.
ErrorReason.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 © 2019. All rights reserved.