Interface Ec2InstanceSavingsPlansConfiguration.Builder

  • Method Details

    • accountScope

      The account scope that you want your recommendations for.

      Parameters:
      accountScope - The account scope that you want your recommendations for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • term

      The Savings Plans recommendation term in years.

      Parameters:
      term - The Savings Plans recommendation term in years.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paymentOption

      The payment option for the commitment.

      Parameters:
      paymentOption - The payment option for the commitment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hourlyCommitment

      Ec2InstanceSavingsPlansConfiguration.Builder hourlyCommitment(String hourlyCommitment)

      The hourly commitment for the Savings Plans type.

      Parameters:
      hourlyCommitment - The hourly commitment for the Savings Plans type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceFamily

      Ec2InstanceSavingsPlansConfiguration.Builder instanceFamily(String instanceFamily)

      The instance family of the recommended Savings Plan.

      Parameters:
      instanceFamily - The instance family of the recommended Savings Plan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • savingsPlansRegion

      Ec2InstanceSavingsPlansConfiguration.Builder savingsPlansRegion(String savingsPlansRegion)

      The Amazon Web Services Region of the commitment.

      Parameters:
      savingsPlansRegion - The Amazon Web Services Region of the commitment.
      Returns:
      Returns a reference to this object so that method calls can be chained together.