Interface SageMakerSavingsPlans.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SageMakerSavingsPlans.Builder,
,SageMakerSavingsPlans> SdkBuilder<SageMakerSavingsPlans.Builder,
,SageMakerSavingsPlans> SdkPojo
- Enclosing class:
SageMakerSavingsPlans
@Mutable
@NotThreadSafe
public static interface SageMakerSavingsPlans.Builder
extends SdkPojo, CopyableBuilder<SageMakerSavingsPlans.Builder,SageMakerSavingsPlans>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SageMakerSavingsPlans.Builder
configuration
(Consumer<SageMakerSavingsPlansConfiguration.Builder> configuration) The SageMaker Savings Plans configuration used for recommendations.configuration
(SageMakerSavingsPlansConfiguration configuration) The SageMaker Savings Plans configuration used for recommendations.default SageMakerSavingsPlans.Builder
costCalculation
(Consumer<SavingsPlansCostCalculation.Builder> costCalculation) Cost impact of the Savings Plans purchase recommendation.costCalculation
(SavingsPlansCostCalculation costCalculation) Cost impact of the Savings Plans purchase recommendation.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
-
configuration
The SageMaker Savings Plans configuration used for recommendations.
- Parameters:
configuration
- The SageMaker Savings Plans configuration used for recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default SageMakerSavingsPlans.Builder configuration(Consumer<SageMakerSavingsPlansConfiguration.Builder> configuration) The SageMaker Savings Plans configuration used for recommendations.
This is a convenience method that creates an instance of theSageMakerSavingsPlansConfiguration.Builder
avoiding the need to create one manually viaSageMakerSavingsPlansConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(SageMakerSavingsPlansConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onSageMakerSavingsPlansConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
costCalculation
Cost impact of the Savings Plans purchase recommendation.
- Parameters:
costCalculation
- Cost impact of the Savings Plans purchase recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costCalculation
default SageMakerSavingsPlans.Builder costCalculation(Consumer<SavingsPlansCostCalculation.Builder> costCalculation) Cost impact of the Savings Plans purchase recommendation.
This is a convenience method that creates an instance of theSavingsPlansCostCalculation.Builder
avoiding the need to create one manually viaSavingsPlansCostCalculation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocostCalculation(SavingsPlansCostCalculation)
.- Parameters:
costCalculation
- a consumer that will call methods onSavingsPlansCostCalculation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-