public static interface UsageAllocation.Builder extends SdkPojo, CopyableBuilder<UsageAllocation.Builder,UsageAllocation>
| Modifier and Type | Method and Description |
|---|---|
UsageAllocation.Builder |
allocatedUsageQuantity(Integer allocatedUsageQuantity)
The total quantity allocated to this bucket of usage.
|
UsageAllocation.Builder |
tags(Collection<Tag> tags)
The set of tags that define the bucket of usage.
|
UsageAllocation.Builder |
tags(Consumer<Tag.Builder>... tags)
The set of tags that define the bucket of usage.
|
UsageAllocation.Builder |
tags(Tag... tags)
The set of tags that define the bucket of usage.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUsageAllocation.Builder allocatedUsageQuantity(Integer allocatedUsageQuantity)
The total quantity allocated to this bucket of usage.
allocatedUsageQuantity - The total quantity allocated to this bucket of usage.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.
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.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.
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.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.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) Copyright © 2023. All rights reserved.