Interface AwsEc2LaunchTemplateDataPlacementDetails.Builder

  • Method Details

    • affinity

      The affinity setting for an instance on an EC2 Dedicated Host.

      Parameters:
      affinity - The affinity setting for an instance on an EC2 Dedicated Host.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availabilityZone

      AwsEc2LaunchTemplateDataPlacementDetails.Builder availabilityZone(String availabilityZone)

      The Availability Zone for the instance.

      Parameters:
      availabilityZone - The Availability Zone for the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupName

      The name of the placement group for the instance.

      Parameters:
      groupName - The name of the placement group for the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hostId

      The ID of the Dedicated Host for the instance.

      Parameters:
      hostId - The ID of the Dedicated Host for the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hostResourceGroupArn

      AwsEc2LaunchTemplateDataPlacementDetails.Builder hostResourceGroupArn(String hostResourceGroupArn)

      The Amazon Resource Name (ARN) of the host resource group in which to launch the instances.

      Parameters:
      hostResourceGroupArn - The Amazon Resource Name (ARN) of the host resource group in which to launch the instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • partitionNumber

      The number of the partition the instance should launch in.

      Parameters:
      partitionNumber - The number of the partition the instance should launch in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • spreadDomain

      Reserved for future use.

      Parameters:
      spreadDomain - Reserved for future use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tenancy

      The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.

      Parameters:
      tenancy - The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.
      Returns:
      Returns a reference to this object so that method calls can be chained together.