Interface UsageQuantity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UsageQuantity.Builder,UsageQuantity>,SdkBuilder<UsageQuantity.Builder,UsageQuantity>,SdkPojo
- Enclosing class:
- UsageQuantity
public static interface UsageQuantity.Builder extends SdkPojo, CopyableBuilder<UsageQuantity.Builder,UsageQuantity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UsageQuantity.Builderamount(Double amount)The numeric value of the usage quantity.UsageQuantity.BuilderstartHour(Instant startHour)The start hour of the usage period.UsageQuantity.Builderunit(String unit)The unit of measurement for the usage quantity.-
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
-
startHour
UsageQuantity.Builder startHour(Instant startHour)
The start hour of the usage period.
- Parameters:
startHour- The start hour of the usage period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unit
UsageQuantity.Builder unit(String unit)
The unit of measurement for the usage quantity.
- Parameters:
unit- The unit of measurement for the usage quantity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amount
UsageQuantity.Builder amount(Double amount)
The numeric value of the usage quantity.
- Parameters:
amount- The numeric value of the usage quantity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-