Interface EC2InstanceDetails.Builder

    • Method Detail

      • family

        EC2InstanceDetails.Builder family​(String 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

        EC2InstanceDetails.Builder region​(String 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

        EC2InstanceDetails.Builder tenancy​(String 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.