public static interface GetCostAndUsageResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<GetCostAndUsageResponse.Builder,GetCostAndUsageResponse>
| Modifier and Type | Method and Description |
|---|---|
GetCostAndUsageResponse.Builder |
dimensionValueAttributes(Collection<DimensionValuesWithAttributes> dimensionValueAttributes)
The attributes that apply to a specific dimension value.
|
GetCostAndUsageResponse.Builder |
dimensionValueAttributes(Consumer<DimensionValuesWithAttributes.Builder>... dimensionValueAttributes)
The attributes that apply to a specific dimension value.
|
GetCostAndUsageResponse.Builder |
dimensionValueAttributes(DimensionValuesWithAttributes... dimensionValueAttributes)
The attributes that apply to a specific dimension value.
|
GetCostAndUsageResponse.Builder |
groupDefinitions(Collection<GroupDefinition> groupDefinitions)
The groups that are specified by the
Filter or GroupBy parameters in the request. |
GetCostAndUsageResponse.Builder |
groupDefinitions(Consumer<GroupDefinition.Builder>... groupDefinitions)
The groups that are specified by the
Filter or GroupBy parameters in the request. |
GetCostAndUsageResponse.Builder |
groupDefinitions(GroupDefinition... groupDefinitions)
The groups that are specified by the
Filter or GroupBy parameters in the request. |
GetCostAndUsageResponse.Builder |
nextPageToken(String nextPageToken)
The token for the next set of retrievable results.
|
GetCostAndUsageResponse.Builder |
resultsByTime(Collection<ResultByTime> resultsByTime)
The time period that's covered by the results in the response.
|
GetCostAndUsageResponse.Builder |
resultsByTime(Consumer<ResultByTime.Builder>... resultsByTime)
The time period that's covered by the results in the response.
|
GetCostAndUsageResponse.Builder |
resultsByTime(ResultByTime... resultsByTime)
The time period that's covered by the results in the response.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCostAndUsageResponse.Builder nextPageToken(String nextPageToken)
The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken - The token for the next set of retrievable results. Amazon Web Services provides the token when the
response from a previous call has more results than the maximum page size.GetCostAndUsageResponse.Builder groupDefinitions(Collection<GroupDefinition> groupDefinitions)
The groups that are specified by the Filter or GroupBy parameters in the request.
groupDefinitions - The groups that are specified by the Filter or GroupBy parameters in the
request.GetCostAndUsageResponse.Builder groupDefinitions(GroupDefinition... groupDefinitions)
The groups that are specified by the Filter or GroupBy parameters in the request.
groupDefinitions - The groups that are specified by the Filter or GroupBy parameters in the
request.GetCostAndUsageResponse.Builder groupDefinitions(Consumer<GroupDefinition.Builder>... groupDefinitions)
The groups that are specified by the Filter or GroupBy parameters in the request.
GroupDefinition.Builder avoiding the need to
create one manually via GroupDefinition.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #groupDefinitions(List.
groupDefinitions - a consumer that will call methods on
GroupDefinition.Builder#groupDefinitions(java.util.Collection) GetCostAndUsageResponse.Builder resultsByTime(Collection<ResultByTime> resultsByTime)
The time period that's covered by the results in the response.
resultsByTime - The time period that's covered by the results in the response.GetCostAndUsageResponse.Builder resultsByTime(ResultByTime... resultsByTime)
The time period that's covered by the results in the response.
resultsByTime - The time period that's covered by the results in the response.GetCostAndUsageResponse.Builder resultsByTime(Consumer<ResultByTime.Builder>... resultsByTime)
The time period that's covered by the results in the response.
This is a convenience method that creates an instance of theResultByTime.Builder avoiding the need to create
one manually via ResultByTime.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #resultsByTime(List.
resultsByTime - a consumer that will call methods on
ResultByTime.Builder#resultsByTime(java.util.Collection) GetCostAndUsageResponse.Builder dimensionValueAttributes(Collection<DimensionValuesWithAttributes> dimensionValueAttributes)
The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.
dimensionValueAttributes - The attributes that apply to a specific dimension value. For example, if the value is a linked
account, the attribute is that account name.GetCostAndUsageResponse.Builder dimensionValueAttributes(DimensionValuesWithAttributes... dimensionValueAttributes)
The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.
dimensionValueAttributes - The attributes that apply to a specific dimension value. For example, if the value is a linked
account, the attribute is that account name.GetCostAndUsageResponse.Builder dimensionValueAttributes(Consumer<DimensionValuesWithAttributes.Builder>... dimensionValueAttributes)
The attributes that apply to a specific dimension value. For example, if the value is a linked account, the attribute is that account name.
This is a convenience method that creates an instance of theDimensionValuesWithAttributes.Builder avoiding the
need to create one manually via
DimensionValuesWithAttributes.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #dimensionValueAttributes(List.
dimensionValueAttributes - a consumer that will call methods on
DimensionValuesWithAttributes.Builder#dimensionValueAttributes(java.util.Collection) Copyright © 2023. All rights reserved.