Interface SavingsPlansPurchaseAnalysisConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SavingsPlansPurchaseAnalysisConfiguration.Builder,
,SavingsPlansPurchaseAnalysisConfiguration> SdkBuilder<SavingsPlansPurchaseAnalysisConfiguration.Builder,
,SavingsPlansPurchaseAnalysisConfiguration> SdkPojo
- Enclosing class:
SavingsPlansPurchaseAnalysisConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe account that the analysis is for.accountScope
(String accountScope) The account scope that you want your analysis for.accountScope
(AccountScope accountScope) The account scope that you want your analysis for.analysisType
(String analysisType) The type of analysis.analysisType
(AnalysisType analysisType) The type of analysis.lookBackTimePeriod
(Consumer<DateInterval.Builder> lookBackTimePeriod) The time period associated with the analysis.lookBackTimePeriod
(DateInterval lookBackTimePeriod) The time period associated with the analysis.savingsPlansToAdd
(Collection<SavingsPlans> savingsPlansToAdd) Savings Plans to include in the analysis.savingsPlansToAdd
(Consumer<SavingsPlans.Builder>... savingsPlansToAdd) Savings Plans to include in the analysis.savingsPlansToAdd
(SavingsPlans... savingsPlansToAdd) Savings Plans to include in the analysis.savingsPlansToExclude
(String... savingsPlansToExclude) Savings Plans to exclude from the analysis.savingsPlansToExclude
(Collection<String> savingsPlansToExclude) Savings Plans to exclude from the analysis.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
accountScope
The account scope that you want your analysis for.
- Parameters:
accountScope
- The account scope that you want your analysis for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountScope
The account scope that you want your analysis for.
- Parameters:
accountScope
- The account scope that you want your analysis for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accountId
The account that the analysis is for.
- Parameters:
accountId
- The account that the analysis is for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisType
The type of analysis.
- Parameters:
analysisType
- The type of analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
analysisType
The type of analysis.
- Parameters:
analysisType
- The type of analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savingsPlansToAdd
SavingsPlansPurchaseAnalysisConfiguration.Builder savingsPlansToAdd(Collection<SavingsPlans> savingsPlansToAdd) Savings Plans to include in the analysis.
- Parameters:
savingsPlansToAdd
- Savings Plans to include in the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlansToAdd
SavingsPlansPurchaseAnalysisConfiguration.Builder savingsPlansToAdd(SavingsPlans... savingsPlansToAdd) Savings Plans to include in the analysis.
- Parameters:
savingsPlansToAdd
- Savings Plans to include in the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlansToAdd
SavingsPlansPurchaseAnalysisConfiguration.Builder savingsPlansToAdd(Consumer<SavingsPlans.Builder>... savingsPlansToAdd) Savings Plans to include in the analysis.
This is a convenience method that creates an instance of theSavingsPlans.Builder
avoiding the need to create one manually viaSavingsPlans.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosavingsPlansToAdd(List<SavingsPlans>)
.- Parameters:
savingsPlansToAdd
- a consumer that will call methods onSavingsPlans.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savingsPlansToExclude
SavingsPlansPurchaseAnalysisConfiguration.Builder savingsPlansToExclude(Collection<String> savingsPlansToExclude) Savings Plans to exclude from the analysis.
- Parameters:
savingsPlansToExclude
- Savings Plans to exclude from the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsPlansToExclude
SavingsPlansPurchaseAnalysisConfiguration.Builder savingsPlansToExclude(String... savingsPlansToExclude) Savings Plans to exclude from the analysis.
- Parameters:
savingsPlansToExclude
- Savings Plans to exclude from the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lookBackTimePeriod
SavingsPlansPurchaseAnalysisConfiguration.Builder lookBackTimePeriod(DateInterval lookBackTimePeriod) The time period associated with the analysis.
- Parameters:
lookBackTimePeriod
- The time period associated with the analysis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lookBackTimePeriod
default SavingsPlansPurchaseAnalysisConfiguration.Builder lookBackTimePeriod(Consumer<DateInterval.Builder> lookBackTimePeriod) The time period associated with the analysis.
This is a convenience method that creates an instance of theDateInterval.Builder
avoiding the need to create one manually viaDateInterval.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolookBackTimePeriod(DateInterval)
.- Parameters:
lookBackTimePeriod
- a consumer that will call methods onDateInterval.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-