Interface Ec2InstanceSavingsPlansConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Ec2InstanceSavingsPlansConfiguration.Builder,Ec2InstanceSavingsPlansConfiguration>, SdkBuilder<Ec2InstanceSavingsPlansConfiguration.Builder,Ec2InstanceSavingsPlansConfiguration>, SdkPojo
Enclosing class:
Ec2InstanceSavingsPlansConfiguration

public static interface Ec2InstanceSavingsPlansConfiguration.Builder extends SdkPojo, CopyableBuilder<Ec2InstanceSavingsPlansConfiguration.Builder,Ec2InstanceSavingsPlansConfiguration>
  • 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.
    • 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.
    • 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.
    • 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.
    • 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.