Class Placement.Builder

  • Enclosing class:
    Placement

    public static class Placement.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • affinity

        public Placement.Builder affinity​(String affinity)
        The affinity setting for the instance on the Dedicated Host.
        Parameters:
        affinity - the value to set
        Returns:
        this builder
      • availabilityZone

        public Placement.Builder availabilityZone​(String availabilityZone)
        The Availability Zone of the instance.
        Parameters:
        availabilityZone - the value to set
        Returns:
        this builder
      • groupName

        public Placement.Builder groupName​(String groupName)
        The name of the placement group the instance is in.
        Parameters:
        groupName - the value to set
        Returns:
        this builder
      • hostKey

        public Placement.Builder hostKey​(String hostKey)
        The ID of the Dedicated Host on which the instance resides.
        Parameters:
        hostKey - the value to set
        Returns:
        this builder
      • hostResourceGroupArn

        public Placement.Builder hostResourceGroupArn​(String hostResourceGroupArn)
        The ARN of the host resource group in which to launch the instances.
        Parameters:
        hostResourceGroupArn - the value to set
        Returns:
        this builder
      • partitionNumber

        public Placement.Builder partitionNumber​(Integer partitionNumber)
        The number of the partition that the instance is in.
        Parameters:
        partitionNumber - the value to set
        Returns:
        this builder
      • spreadDomain

        public Placement.Builder spreadDomain​(String spreadDomain)
        Reserved for future use.
        Parameters:
        spreadDomain - the value to set
        Returns:
        this builder
      • tenancy

        public Placement.Builder tenancy​(String tenancy)
        The tenancy of the instance (if the instance is running in a VPC).
        Parameters:
        tenancy - the value to set
        Returns:
        this builder