Interface SavingsPlansPurchaseAnalysisConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SavingsPlansPurchaseAnalysisConfiguration.Builder,SavingsPlansPurchaseAnalysisConfiguration>,SdkBuilder<SavingsPlansPurchaseAnalysisConfiguration.Builder,SavingsPlansPurchaseAnalysisConfiguration>,SdkPojo
- Enclosing class:
- SavingsPlansPurchaseAnalysisConfiguration
public static interface SavingsPlansPurchaseAnalysisConfiguration.Builder extends SdkPojo, CopyableBuilder<SavingsPlansPurchaseAnalysisConfiguration.Builder,SavingsPlansPurchaseAnalysisConfiguration>
-
-
Method Summary
-
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 Detail
-
accountScope
SavingsPlansPurchaseAnalysisConfiguration.Builder accountScope(String 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,AccountScope
-
accountScope
SavingsPlansPurchaseAnalysisConfiguration.Builder accountScope(AccountScope 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,AccountScope
-
accountId
SavingsPlansPurchaseAnalysisConfiguration.Builder accountId(String 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
SavingsPlansPurchaseAnalysisConfiguration.Builder analysisType(String 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,AnalysisType
-
analysisType
SavingsPlansPurchaseAnalysisConfiguration.Builder analysisType(AnalysisType 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,AnalysisType
-
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.Builderavoiding the need to create one manually viaSavingsPlans.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#savingsPlansToAdd(List.) - 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:
#savingsPlansToAdd(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaDateInterval.builder().When the
Consumercompletes,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:
lookBackTimePeriod(DateInterval)
-
-