Interface GetSavingsPlansUtilizationRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<GetSavingsPlansUtilizationRequest.Builder,,- GetSavingsPlansUtilizationRequest> - CostExplorerRequest.Builder,- SdkBuilder<GetSavingsPlansUtilizationRequest.Builder,,- GetSavingsPlansUtilizationRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- GetSavingsPlansUtilizationRequest
- 
Method SummaryModifier and TypeMethodDescriptionfilter(Consumer<Expression.Builder> filter) Filters Savings Plans utilization coverage data for active Savings Plans dimensions.filter(Expression filter) Filters Savings Plans utilization coverage data for active Savings Plans dimensions.granularity(String granularity) The granularity of the Amazon Web Services utillization data for your Savings Plans.granularity(Granularity granularity) The granularity of the Amazon Web Services utillization data for your Savings Plans.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sortBy(Consumer<SortDefinition.Builder> sortBy) The value that you want to sort the data by.sortBy(SortDefinition sortBy) The value that you want to sort the data by.timePeriod(Consumer<DateInterval.Builder> timePeriod) The time period that you want the usage and costs for.timePeriod(DateInterval timePeriod) The time period that you want the usage and costs for.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.costexplorer.model.CostExplorerRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
timePeriodThe time period that you want the usage and costs for. The Startdate must be within 13 months. TheEnddate must be after theStartdate, and before the current date. Future dates can't be used as anEnddate.- Parameters:
- timePeriod- The time period that you want the usage and costs for. The- Startdate must be within 13 months. The- Enddate must be after the- Startdate, and before the current date. Future dates can't be used as an- Enddate.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
timePerioddefault GetSavingsPlansUtilizationRequest.Builder timePeriod(Consumer<DateInterval.Builder> timePeriod) The time period that you want the usage and costs for. The This is a convenience method that creates an instance of theStartdate must be within 13 months. TheEnddate must be after theStartdate, and before the current date. Future dates can't be used as anEnddate.DateInterval.Builderavoiding the need to create one manually viaDateInterval.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimePeriod(DateInterval).- Parameters:
- timePeriod- a consumer that will call methods on- DateInterval.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
granularityThe granularity of the Amazon Web Services utillization data for your Savings Plans. The GetSavingsPlansUtilizationoperation supports onlyDAILYandMONTHLYgranularities.- Parameters:
- granularity- The granularity of the Amazon Web Services utillization data for your Savings Plans.- The - GetSavingsPlansUtilizationoperation supports only- DAILYand- MONTHLYgranularities.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
granularityThe granularity of the Amazon Web Services utillization data for your Savings Plans. The GetSavingsPlansUtilizationoperation supports onlyDAILYandMONTHLYgranularities.- Parameters:
- granularity- The granularity of the Amazon Web Services utillization data for your Savings Plans.- The - GetSavingsPlansUtilizationoperation supports only- DAILYand- MONTHLYgranularities.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
filterFilters 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
 GetSavingsPlansUtilizationuses the same Expression object as the other operations, but onlyANDis supported among each dimension.- Parameters:
- 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
 - GetSavingsPlansUtilizationuses the same Expression object as the other operations, but only- ANDis supported among each dimension.
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
filterFilters 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
 
 This is a convenience method that creates an instance of theGetSavingsPlansUtilizationuses the same Expression object as the other operations, but onlyANDis supported among each dimension.Expression.Builderavoiding the need to create one manually viaExpression.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(Expression).- Parameters:
- filter- a consumer that will call methods on- Expression.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
sortByThe value that you want to sort the data by. The following values are supported for Key:- 
 UtilizationPercentage
- 
 TotalCommitment
- 
 UsedCommitment
- 
 UnusedCommitment
- 
 NetSavings
 The supported values for SortOrderareASCENDINGandDESCENDING.- Parameters:
- sortBy- The value that you want to sort the data by.- The following values are supported for - Key:- 
        UtilizationPercentage
- 
        TotalCommitment
- 
        UsedCommitment
- 
        UnusedCommitment
- 
        NetSavings
 - The supported values for - SortOrderare- ASCENDINGand- DESCENDING.
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
sortByThe value that you want to sort the data by. The following values are supported for Key:- 
 UtilizationPercentage
- 
 TotalCommitment
- 
 UsedCommitment
- 
 UnusedCommitment
- 
 NetSavings
 The supported values for This is a convenience method that creates an instance of theSortOrderareASCENDINGandDESCENDING.SortDefinition.Builderavoiding the need to create one manually viaSortDefinition.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortBy(SortDefinition).- Parameters:
- sortBy- a consumer that will call methods on- SortDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
overrideConfigurationGetSavingsPlansUtilizationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationGetSavingsPlansUtilizationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-