Interface EC2InstanceDetails.Builder

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

public static interface EC2InstanceDetails.Builder extends SdkPojo, CopyableBuilder<EC2InstanceDetails.Builder,EC2InstanceDetails>
  • Method Details

    • family

      The instance family of the recommended reservation.

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

      EC2InstanceDetails.Builder instanceType(String instanceType)

      The type of instance that Amazon Web Services recommends.

      Parameters:
      instanceType - The type of instance that Amazon Web Services recommends.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      The Amazon Web Services Region of the recommended reservation.

      Parameters:
      region - The Amazon Web Services Region of the recommended reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZone

      EC2InstanceDetails.Builder availabilityZone(String availabilityZone)

      The Availability Zone of the recommended reservation.

      Parameters:
      availabilityZone - The Availability Zone of the recommended reservation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • platform

      EC2InstanceDetails.Builder platform(String platform)

      The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.

      Parameters:
      platform - The platform of the recommended reservation. The platform is the specific combination of operating system, license model, and software on an instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tenancy

      Determines whether the recommended reservation is dedicated or shared.

      Parameters:
      tenancy - Determines whether the recommended reservation is dedicated or shared.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • currentGeneration

      EC2InstanceDetails.Builder currentGeneration(Boolean currentGeneration)

      Determines whether the recommendation is for a current-generation instance.

      Parameters:
      currentGeneration - Determines whether the recommendation is for a current-generation instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sizeFlexEligible

      EC2InstanceDetails.Builder sizeFlexEligible(Boolean sizeFlexEligible)

      Determines whether the recommended reservation is size flexible.

      Parameters:
      sizeFlexEligible - Determines whether the recommended reservation is size flexible.
      Returns:
      Returns a reference to this object so that method calls can be chained together.