public static interface GetSavingsPlansUtilizationRequest.Builder extends CostExplorerRequest.Builder, SdkPojo, CopyableBuilder<GetSavingsPlansUtilizationRequest.Builder,GetSavingsPlansUtilizationRequest>
| Modifier and Type | Method and Description |
|---|---|
default GetSavingsPlansUtilizationRequest.Builder |
filter(Consumer<Expression.Builder> filter)
Filters Savings Plans utilization coverage data for active Savings Plans dimensions.
|
GetSavingsPlansUtilizationRequest.Builder |
filter(Expression filter)
Filters Savings Plans utilization coverage data for active Savings Plans dimensions.
|
GetSavingsPlansUtilizationRequest.Builder |
granularity(Granularity granularity)
The granularity of the Amazon Web Services utillization data for your Savings Plans.
|
GetSavingsPlansUtilizationRequest.Builder |
granularity(String granularity)
The granularity of the Amazon Web Services utillization data for your Savings Plans.
|
GetSavingsPlansUtilizationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetSavingsPlansUtilizationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default GetSavingsPlansUtilizationRequest.Builder |
sortBy(Consumer<SortDefinition.Builder> sortBy)
The value by which you want to sort the data.
|
GetSavingsPlansUtilizationRequest.Builder |
sortBy(SortDefinition sortBy)
The value by which you want to sort the data.
|
default GetSavingsPlansUtilizationRequest.Builder |
timePeriod(Consumer<DateInterval.Builder> timePeriod)
The time period that you want the usage and costs for.
|
GetSavingsPlansUtilizationRequest.Builder |
timePeriod(DateInterval timePeriod)
The time period that you want the usage and costs for.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSavingsPlansUtilizationRequest.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 GetSavingsPlansUtilizationRequest.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)GetSavingsPlansUtilizationRequest.Builder granularity(String granularity)
The granularity of the Amazon Web Services utillization data for your Savings Plans.
The GetSavingsPlansUtilization operation supports only DAILY and
MONTHLY granularities.
granularity - The granularity of the Amazon Web Services utillization data for your Savings Plans.
The GetSavingsPlansUtilization operation supports only DAILY and
MONTHLY granularities.
Granularity,
GranularityGetSavingsPlansUtilizationRequest.Builder granularity(Granularity granularity)
The granularity of the Amazon Web Services utillization data for your Savings Plans.
The GetSavingsPlansUtilization operation supports only DAILY and
MONTHLY granularities.
granularity - The granularity of the Amazon Web Services utillization data for your Savings Plans.
The GetSavingsPlansUtilization operation supports only DAILY and
MONTHLY granularities.
Granularity,
GranularityGetSavingsPlansUtilizationRequest.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
SAVINGS_PLANS_TYPE
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilization 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
SAVINGS_PLANS_TYPE
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilization uses the same Expression object as the other operations, but only AND is supported among each
dimension.
default GetSavingsPlansUtilizationRequest.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
SAVINGS_PLANS_TYPE
REGION
PAYMENT_OPTION
INSTANCE_TYPE_FAMILY
GetSavingsPlansUtilization 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)GetSavingsPlansUtilizationRequest.Builder sortBy(SortDefinition sortBy)
The value by which you want to sort the data.
The following values are supported for Key:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
Supported values for SortOrder are ASCENDING or DESCENDING.
sortBy - The value by which you want to sort the data.
The following values are supported for Key:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
Supported values for SortOrder are ASCENDING or DESCENDING.
default GetSavingsPlansUtilizationRequest.Builder sortBy(Consumer<SortDefinition.Builder> sortBy)
The value by which you want to sort the data.
The following values are supported for Key:
UtilizationPercentage
TotalCommitment
UsedCommitment
UnusedCommitment
NetSavings
Supported values for SortOrder are ASCENDING or 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)GetSavingsPlansUtilizationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetSavingsPlansUtilizationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.