Interface VolumeRecommendationOption.Builder

  • 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

      An array of objects that describe a volume configuration.

      This is a convenience method that creates an instance of the VolumeConfiguration.Builder avoiding the need to create one manually via VolumeConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(VolumeConfiguration).

      Parameters:
      configuration - a consumer that will call methods on VolumeConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • performanceRisk

      VolumeRecommendationOption.Builder performanceRisk(Double 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, with 0 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, with 0 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

      VolumeRecommendationOption.Builder savingsOpportunity(SavingsOpportunity 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 the SavingsOpportunity.Builder avoiding the need to create one manually via SavingsOpportunity.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to savingsOpportunity(SavingsOpportunity).

      Parameters:
      savingsOpportunity - a consumer that will call methods on SavingsOpportunity.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 the EBSSavingsOpportunityAfterDiscounts.Builder avoiding the need to create one manually via EBSSavingsOpportunityAfterDiscounts.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to savingsOpportunityAfterDiscounts(EBSSavingsOpportunityAfterDiscounts).

      Parameters:
      savingsOpportunityAfterDiscounts - a consumer that will call methods on EBSSavingsOpportunityAfterDiscounts.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: