Interface ServiceLimit.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServiceLimit.Builder,ServiceLimit>,SdkBuilder<ServiceLimit.Builder,ServiceLimit>,SdkPojo
- Enclosing class:
- ServiceLimit
public static interface ServiceLimit.Builder extends SdkPojo, CopyableBuilder<ServiceLimit.Builder,ServiceLimit>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServiceLimit.BuilderisServiceLimited(Boolean isServiceLimited)Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.ServiceLimit.Builderunit(String unit)The unit of measurement for the value specified by the value field.ServiceLimit.Builderunit(Unit unit)The unit of measurement for the value specified by the value field.ServiceLimit.Buildervalue(Long value)The value for the metric specified by the UsageByAccount.type field in the response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
isServiceLimited
ServiceLimit.Builder isServiceLimited(Boolean isServiceLimited)
Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.
- Parameters:
isServiceLimited- Specifies whether the account has met the quota that corresponds to the metric specified by the UsageByAccount.type field in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
ServiceLimit.Builder unit(String unit)
The unit of measurement for the value specified by the value field.
-
unit
ServiceLimit.Builder unit(Unit unit)
The unit of measurement for the value specified by the value field.
-
value
ServiceLimit.Builder value(Long value)
The value for the metric specified by the UsageByAccount.type field in the response.
- Parameters:
value- The value for the metric specified by the UsageByAccount.type field in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-