Interface VolumeRecommendationOption.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VolumeRecommendationOption.Builder,
,VolumeRecommendationOption> SdkBuilder<VolumeRecommendationOption.Builder,
,VolumeRecommendationOption> SdkPojo
- Enclosing class:
VolumeRecommendationOption
-
Method Summary
Modifier and TypeMethodDescriptionconfiguration
(Consumer<VolumeConfiguration.Builder> configuration) An array of objects that describe a volume configuration.configuration
(VolumeConfiguration configuration) An array of objects that describe a volume configuration.performanceRisk
(Double performanceRisk) The performance risk of the volume recommendation option.The rank of the volume recommendation option.savingsOpportunity
(Consumer<SavingsOpportunity.Builder> savingsOpportunity) An object that describes the savings opportunity for the EBS volume recommendation option.savingsOpportunity
(SavingsOpportunity savingsOpportunity) An object that describes the savings opportunity for the EBS volume recommendation option.savingsOpportunityAfterDiscounts
(Consumer<EBSSavingsOpportunityAfterDiscounts.Builder> savingsOpportunityAfterDiscounts) An object that describes the savings opportunity for the Amazon EBS volume recommendation option with specific discounts.savingsOpportunityAfterDiscounts
(EBSSavingsOpportunityAfterDiscounts savingsOpportunityAfterDiscounts) An object that describes the savings opportunity for the Amazon EBS volume recommendation option with specific discounts.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
An array of objects that describe a volume configuration.
- Parameters:
configuration
- An array of objects that describe a volume configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default VolumeRecommendationOption.Builder configuration(Consumer<VolumeConfiguration.Builder> configuration) An array of objects that describe a volume configuration.
This is a convenience method that creates an instance of theVolumeConfiguration.Builder
avoiding the need to create one manually viaVolumeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(VolumeConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onVolumeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
performanceRisk
The performance risk of the volume recommendation option.
Performance risk is the likelihood of the recommended volume type meeting the performance requirement of your workload.
The value ranges from
0
-4
, with0
meaning that the recommended resource is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely you should validate whether the recommendation will meet the performance requirements of your workload before migrating your resource.- Parameters:
performanceRisk
- The performance risk of the volume recommendation option.Performance risk is the likelihood of the recommended volume type meeting the performance requirement of your workload.
The value ranges from
0
-4
, with0
meaning that the recommended resource is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely you should validate whether the recommendation will meet the performance requirements of your workload before migrating your resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rank
The rank of the volume recommendation option.
The top recommendation option is ranked as
1
.- Parameters:
rank
- The rank of the volume recommendation option.The top recommendation option is ranked as
1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsOpportunity
An object that describes the savings opportunity for the EBS volume recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
- Parameters:
savingsOpportunity
- An object that describes the savings opportunity for the EBS volume recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsOpportunity
default VolumeRecommendationOption.Builder savingsOpportunity(Consumer<SavingsOpportunity.Builder> savingsOpportunity) An object that describes the savings opportunity for the EBS volume recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
This is a convenience method that creates an instance of theSavingsOpportunity.Builder
avoiding the need to create one manually viaSavingsOpportunity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosavingsOpportunity(SavingsOpportunity)
.- Parameters:
savingsOpportunity
- a consumer that will call methods onSavingsOpportunity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savingsOpportunityAfterDiscounts
VolumeRecommendationOption.Builder savingsOpportunityAfterDiscounts(EBSSavingsOpportunityAfterDiscounts savingsOpportunityAfterDiscounts) An object that describes the savings opportunity for the Amazon EBS volume recommendation option with specific discounts. Savings opportunity includes the estimated monthly savings and percentage.
- Parameters:
savingsOpportunityAfterDiscounts
- An object that describes the savings opportunity for the Amazon EBS volume recommendation option with specific discounts. Savings opportunity includes the estimated monthly savings and percentage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsOpportunityAfterDiscounts
default VolumeRecommendationOption.Builder savingsOpportunityAfterDiscounts(Consumer<EBSSavingsOpportunityAfterDiscounts.Builder> savingsOpportunityAfterDiscounts) An object that describes the savings opportunity for the Amazon EBS volume recommendation option with specific discounts. Savings opportunity includes the estimated monthly savings and percentage.
This is a convenience method that creates an instance of theEBSSavingsOpportunityAfterDiscounts.Builder
avoiding the need to create one manually viaEBSSavingsOpportunityAfterDiscounts.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosavingsOpportunityAfterDiscounts(EBSSavingsOpportunityAfterDiscounts)
.- Parameters:
savingsOpportunityAfterDiscounts
- a consumer that will call methods onEBSSavingsOpportunityAfterDiscounts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-