public static interface GetSavingsPlansUtilizationDetailsRequest.Builder extends CostExplorerRequest.Builder, SdkPojo, CopyableBuilder<GetSavingsPlansUtilizationDetailsRequest.Builder,GetSavingsPlansUtilizationDetailsRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSavingsPlansUtilizationDetailsRequest.Builder timePeriod(DateInterval timePeriod)
The time period that you want the usage and costs for. The Start date must be within 13 months.
The End date must be after the Start date, and before the current date. Future
dates can't be used as an End date.
timePeriod - The time period that you want the usage and costs for. The Start date must be within 13
months. The End date must be after the Start date, and before the current
date. Future dates can't be used as an End date.default GetSavingsPlansUtilizationDetailsRequest.Builder timePeriod(Consumer<DateInterval.Builder> timePeriod)
The time period that you want the usage and costs for. The Start date must be within 13 months.
The End date must be after the Start date, and before the current date. Future
dates can't be used as an End date.
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)GetSavingsPlansUtilizationDetailsRequest.Builder filter(Expression filter)
Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions:
LINKED_ACCOUNT
SAVINGS_PLAN_ARN
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilizationDetails uses the same Expression
object as the other operations, but only AND is supported among each dimension.
filter - Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter
data with the following dimensions:
LINKED_ACCOUNT
SAVINGS_PLAN_ARN
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilizationDetails uses the same Expression object as the other operations, but only AND is supported among each
dimension.
default GetSavingsPlansUtilizationDetailsRequest.Builder filter(Consumer<Expression.Builder> filter)
Filters Savings Plans utilization coverage data for active Savings Plans dimensions. You can filter data with the following dimensions:
LINKED_ACCOUNT
SAVINGS_PLAN_ARN
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilizationDetails uses the same Expression
object as the other operations, but only AND is supported among each dimension.
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)GetSavingsPlansUtilizationDetailsRequest.Builder dataTypeWithStrings(Collection<String> dataType)
The data type.
dataType - The data type.GetSavingsPlansUtilizationDetailsRequest.Builder dataTypeWithStrings(String... dataType)
The data type.
dataType - The data type.GetSavingsPlansUtilizationDetailsRequest.Builder dataType(Collection<SavingsPlansDataType> dataType)
The data type.
dataType - The data type.GetSavingsPlansUtilizationDetailsRequest.Builder dataType(SavingsPlansDataType... dataType)
The data type.
dataType - The data type.GetSavingsPlansUtilizationDetailsRequest.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.
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.GetSavingsPlansUtilizationDetailsRequest.Builder maxResults(Integer maxResults)
The number of items to be returned in a response. The default is 20, with a minimum value of
1.
maxResults - The number of items to be returned in a response. The default is 20, with a minimum value
of 1.GetSavingsPlansUtilizationDetailsRequest.Builder sortBy(SortDefinition sortBy)
The value that you want to sort the data by.
The following values are supported for Key:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
AmortizedRecurringCommitment
AmortizedUpfrontCommitment
The supported values for SortOrder are ASCENDING and DESCENDING.
sortBy - The value that you want to sort the data by.
The following values are supported for Key:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
AmortizedRecurringCommitment
AmortizedUpfrontCommitment
The supported values for SortOrder are ASCENDING and DESCENDING.
default GetSavingsPlansUtilizationDetailsRequest.Builder sortBy(Consumer<SortDefinition.Builder> sortBy)
The value that you want to sort the data by.
The following values are supported for Key:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
AmortizedRecurringCommitment
AmortizedUpfrontCommitment
The supported values for SortOrder are ASCENDING and DESCENDING.
SortDefinition.Builder avoiding the need
to create one manually via SortDefinition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to sortBy(SortDefinition).
sortBy - a consumer that will call methods on SortDefinition.BuildersortBy(SortDefinition)GetSavingsPlansUtilizationDetailsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetSavingsPlansUtilizationDetailsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.