public static interface GetCostCategoriesRequest.Builder extends CostExplorerRequest.Builder, SdkPojo, CopyableBuilder<GetCostCategoriesRequest.Builder,GetCostCategoriesRequest>
| Modifier and Type | Method and Description |
|---|---|
GetCostCategoriesRequest.Builder |
costCategoryName(String costCategoryName)
Sets the value of the CostCategoryName property for this object.
|
default GetCostCategoriesRequest.Builder |
filter(Consumer<Expression.Builder> filter)
Sets the value of the Filter property for this object.
|
GetCostCategoriesRequest.Builder |
filter(Expression filter)
Sets the value of the Filter property for this object.
|
GetCostCategoriesRequest.Builder |
maxResults(Integer maxResults)
This field is only used when
SortBy is provided in the request. |
GetCostCategoriesRequest.Builder |
nextPageToken(String nextPageToken)
If the number of objects that are still available for retrieval exceeds the limit, AWS returns a
NextPageToken value in the response.
|
GetCostCategoriesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetCostCategoriesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
GetCostCategoriesRequest.Builder |
searchString(String searchString)
The value that you want to search the filter values for.
|
GetCostCategoriesRequest.Builder |
sortBy(Collection<SortDefinition> sortBy)
The value by which you want to sort the data.
|
GetCostCategoriesRequest.Builder |
sortBy(Consumer<SortDefinition.Builder>... sortBy)
The value by which you want to sort the data.
|
GetCostCategoriesRequest.Builder |
sortBy(SortDefinition... sortBy)
The value by which you want to sort the data.
|
default GetCostCategoriesRequest.Builder |
timePeriod(Consumer<DateInterval.Builder> timePeriod)
Sets the value of the TimePeriod property for this object.
|
GetCostCategoriesRequest.Builder |
timePeriod(DateInterval timePeriod)
Sets the value of the TimePeriod property for this object.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCostCategoriesRequest.Builder searchString(String searchString)
The value that you want to search the filter values for.
If you do not specify a CostCategoryName, SearchString will be used to filter Cost
Category names that match the SearchString pattern. If you do specifiy a
CostCategoryName, SearchString will be used to filter Cost Category values that
match the SearchString pattern.
searchString - The value that you want to search the filter values for.
If you do not specify a CostCategoryName, SearchString will be used to
filter Cost Category names that match the SearchString pattern. If you do specifiy a
CostCategoryName, SearchString will be used to filter Cost Category values
that match the SearchString pattern.
GetCostCategoriesRequest.Builder timePeriod(DateInterval timePeriod)
timePeriod - The new value for the TimePeriod property for this object.default GetCostCategoriesRequest.Builder timePeriod(Consumer<DateInterval.Builder> timePeriod)
DateInterval.Builder avoiding the need to
create one manually via DateInterval.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to timePeriod(DateInterval).timePeriod - a consumer that will call methods on DateInterval.BuildertimePeriod(DateInterval)GetCostCategoriesRequest.Builder costCategoryName(String costCategoryName)
costCategoryName - The new value for the CostCategoryName property for this object.GetCostCategoriesRequest.Builder filter(Expression filter)
filter - The new value for the Filter property for this object.default GetCostCategoriesRequest.Builder filter(Consumer<Expression.Builder> filter)
Expression.Builder avoiding the need to create
one manually via Expression.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to filter(Expression).filter - a consumer that will call methods on Expression.Builderfilter(Expression)GetCostCategoriesRequest.Builder sortBy(Collection<SortDefinition> sortBy)
The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder are ASCENDING or DESCENDING.
When using SortBy, NextPageToken and SearchString are not supported.
sortBy - The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder are ASCENDING or DESCENDING.
When using SortBy, NextPageToken and SearchString are not
supported.
GetCostCategoriesRequest.Builder sortBy(SortDefinition... sortBy)
The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder are ASCENDING or DESCENDING.
When using SortBy, NextPageToken and SearchString are not supported.
sortBy - The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder are ASCENDING or DESCENDING.
When using SortBy, NextPageToken and SearchString are not
supported.
GetCostCategoriesRequest.Builder sortBy(Consumer<SortDefinition.Builder>... sortBy)
The value by which you want to sort the data.
The key represents cost and usage metrics. The following values are supported:
BlendedCost
UnblendedCost
AmortizedCost
NetAmortizedCost
NetUnblendedCost
UsageQuantity
NormalizedUsageAmount
Supported values for SortOrder are ASCENDING or DESCENDING.
When using SortBy, NextPageToken and SearchString are not supported.
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 #sortBy(List) .sortBy - a consumer that will call methods on List.Builder #sortBy(List) GetCostCategoriesRequest.Builder maxResults(Integer maxResults)
This field is only used when SortBy is provided in the request.
The maximum number of objects that to be returned for this request. If MaxResults is not
specified with SortBy, the request will return 1000 results as the default value for this
parameter.
For GetCostCategories, MaxResults has an upper limit of 1000.
maxResults - This field is only used when SortBy is provided in the request.
The maximum number of objects that to be returned for this request. If MaxResults is not
specified with SortBy, the request will return 1000 results as the default value for this
parameter.
For GetCostCategories, MaxResults has an upper limit of 1000.
GetCostCategoriesRequest.Builder nextPageToken(String nextPageToken)
If the number of objects that are still available for retrieval exceeds the limit, AWS returns a NextPageToken value in the response. To retrieve the next batch of objects, provide the NextPageToken from the prior call in your next request.
nextPageToken - If the number of objects that are still available for retrieval exceeds the limit, AWS returns a
NextPageToken value in the response. To retrieve the next batch of objects, provide the NextPageToken
from the prior call in your next request.GetCostCategoriesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetCostCategoriesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.