Interface AwsEc2LaunchTemplateDataPlacementDetails.Builder

    • Method Detail

      • affinity

        AwsEc2LaunchTemplateDataPlacementDetails.Builder affinity​(String 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

        AwsEc2LaunchTemplateDataPlacementDetails.Builder groupName​(String 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

        AwsEc2LaunchTemplateDataPlacementDetails.Builder hostId​(String 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

        AwsEc2LaunchTemplateDataPlacementDetails.Builder partitionNumber​(Integer 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.
      • tenancy

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