public static interface GetCostAndUsageResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<GetCostAndUsageResponse.Builder,GetCostAndUsageResponse>
Modifier and Type | Method and Description |
---|---|
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 is covered by the results in the response.
|
GetCostAndUsageResponse.Builder |
resultsByTime(Consumer<ResultByTime.Builder>... resultsByTime)
The time period that is covered by the results in the response.
|
GetCostAndUsageResponse.Builder |
resultsByTime(ResultByTime... resultsByTime)
The time period that is covered by the results in the response.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetCostAndUsageResponse.Builder nextPageToken(String nextPageToken)
The token for the next set of retrievable results. AWS 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. AWS 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.
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #groupDefinitions(List)
.groupDefinitions
- a consumer that will call methods on List.Builder
#groupDefinitions(List)
GetCostAndUsageResponse.Builder resultsByTime(Collection<ResultByTime> resultsByTime)
The time period that is covered by the results in the response.
resultsByTime
- The time period that is covered by the results in the response.GetCostAndUsageResponse.Builder resultsByTime(ResultByTime... resultsByTime)
The time period that is covered by the results in the response.
resultsByTime
- The time period that is covered by the results in the response.GetCostAndUsageResponse.Builder resultsByTime(Consumer<ResultByTime.Builder>... resultsByTime)
The time period that is covered by the results in the response.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #resultsByTime(List)
.resultsByTime
- a consumer that will call methods on List.Builder
#resultsByTime(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.