Interface UsageAllocation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UsageAllocation.Builder,,UsageAllocation> SdkBuilder<UsageAllocation.Builder,,UsageAllocation> SdkPojo
- Enclosing class:
UsageAllocation
public static interface UsageAllocation.Builder
extends SdkPojo, CopyableBuilder<UsageAllocation.Builder,UsageAllocation>
-
Method Summary
Modifier and TypeMethodDescriptionallocatedUsageQuantity(Integer allocatedUsageQuantity) The total quantity allocated to this bucket of usage.tags(Collection<Tag> tags) The set of tags that define the bucket of usage.tags(Consumer<Tag.Builder>... tags) The set of tags that define the bucket of usage.The set of tags that define the bucket of usage.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
allocatedUsageQuantity
The total quantity allocated to this bucket of usage.
- Parameters:
allocatedUsageQuantity- The total quantity allocated to this bucket of usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The set of tags that define the bucket of usage. For the bucket of items with no tags, this parameter can be left out.
- Parameters:
tags- The set of tags that define the bucket of usage. For the bucket of items with no tags, this parameter can be left out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The set of tags that define the bucket of usage. For the bucket of items with no tags, this parameter can be left out.
- Parameters:
tags- The set of tags that define the bucket of usage. For the bucket of items with no tags, this parameter can be left out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The set of tags that define the bucket of usage. For the bucket of items with no tags, this parameter can be left out.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-