Interface ListCostAllocationTagsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCostAllocationTagsResponse.Builder,ListCostAllocationTagsResponse>,CostExplorerResponse.Builder,SdkBuilder<ListCostAllocationTagsResponse.Builder,ListCostAllocationTagsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCostAllocationTagsResponse
public static interface ListCostAllocationTagsResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<ListCostAllocationTagsResponse.Builder,ListCostAllocationTagsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCostAllocationTagsResponse.BuildercostAllocationTags(Collection<CostAllocationTag> costAllocationTags)A list of cost allocation tags that includes the detailed metadata for each one.ListCostAllocationTagsResponse.BuildercostAllocationTags(Consumer<CostAllocationTag.Builder>... costAllocationTags)A list of cost allocation tags that includes the detailed metadata for each one.ListCostAllocationTagsResponse.BuildercostAllocationTags(CostAllocationTag... costAllocationTags)A list of cost allocation tags that includes the detailed metadata for each one.ListCostAllocationTagsResponse.BuildernextToken(String nextToken)The token to retrieve the next set of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.costexplorer.model.CostExplorerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
costAllocationTags
ListCostAllocationTagsResponse.Builder costAllocationTags(Collection<CostAllocationTag> costAllocationTags)
A list of cost allocation tags that includes the detailed metadata for each one.
- Parameters:
costAllocationTags- A list of cost allocation tags that includes the detailed metadata for each one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costAllocationTags
ListCostAllocationTagsResponse.Builder costAllocationTags(CostAllocationTag... costAllocationTags)
A list of cost allocation tags that includes the detailed metadata for each one.
- Parameters:
costAllocationTags- A list of cost allocation tags that includes the detailed metadata for each one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costAllocationTags
ListCostAllocationTagsResponse.Builder costAllocationTags(Consumer<CostAllocationTag.Builder>... costAllocationTags)
A list of cost allocation tags that includes the detailed metadata for each one.
This is a convenience method that creates an instance of theCostAllocationTag.Builderavoiding the need to create one manually viaCostAllocationTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#costAllocationTags(List.) - Parameters:
costAllocationTags- a consumer that will call methods onCostAllocationTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#costAllocationTags(java.util.Collection)
-
nextToken
ListCostAllocationTagsResponse.Builder nextToken(String nextToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
- Parameters:
nextToken- The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-