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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UsageAllocation.BuilderallocatedUsageQuantity(Integer allocatedUsageQuantity)The total quantity allocated to this bucket of usage.UsageAllocation.Buildertags(Collection<Tag> tags)The set of tags that define the bucket of usage.UsageAllocation.Buildertags(Consumer<Tag.Builder>... tags)The set of tags that define the bucket of usage.UsageAllocation.Buildertags(Tag... tags)The set of tags that define the bucket of usage.-
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, sdkFields
-
-
-
-
Method Detail
-
allocatedUsageQuantity
UsageAllocation.Builder allocatedUsageQuantity(Integer 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
UsageAllocation.Builder tags(Collection<Tag> 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
UsageAllocation.Builder tags(Tag... 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
UsageAllocation.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
-