Class LaunchTemplatePlacementArgs.Builder

    • Method Detail

      • affinity

        public LaunchTemplatePlacementArgs.Builder affinity​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> affinity)
        Parameters:
        affinity - The affinity setting for an instance on a Dedicated Host.
        Returns:
        builder
      • affinity

        public LaunchTemplatePlacementArgs.Builder affinity​(java.lang.String affinity)
        Parameters:
        affinity - The affinity setting for an instance on a Dedicated Host.
        Returns:
        builder
      • availabilityZone

        public LaunchTemplatePlacementArgs.Builder availabilityZone​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - The Availability Zone for the instance.
        Returns:
        builder
      • availabilityZone

        public LaunchTemplatePlacementArgs.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - The Availability Zone for the instance.
        Returns:
        builder
      • groupId

        public LaunchTemplatePlacementArgs.Builder groupId​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> groupId)
        Parameters:
        groupId - The ID of the placement group for the instance. Conflicts with `groupName`.
        Returns:
        builder
      • groupId

        public LaunchTemplatePlacementArgs.Builder groupId​(java.lang.String groupId)
        Parameters:
        groupId - The ID of the placement group for the instance. Conflicts with `groupName`.
        Returns:
        builder
      • groupName

        public LaunchTemplatePlacementArgs.Builder groupName​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> groupName)
        Parameters:
        groupName - The name of the placement group for the instance. Conflicts with `groupId`.
        Returns:
        builder
      • groupName

        public LaunchTemplatePlacementArgs.Builder groupName​(java.lang.String groupName)
        Parameters:
        groupName - The name of the placement group for the instance. Conflicts with `groupId`.
        Returns:
        builder
      • hostId

        public LaunchTemplatePlacementArgs.Builder hostId​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> hostId)
        Parameters:
        hostId - The ID of the Dedicated Host for the instance.
        Returns:
        builder
      • hostResourceGroupArn

        public LaunchTemplatePlacementArgs.Builder hostResourceGroupArn​(@Nullable
                                                                        com.pulumi.core.Output<java.lang.String> hostResourceGroupArn)
        Parameters:
        hostResourceGroupArn - The ARN of the Host Resource Group in which to launch instances.
        Returns:
        builder
      • hostResourceGroupArn

        public LaunchTemplatePlacementArgs.Builder hostResourceGroupArn​(java.lang.String hostResourceGroupArn)
        Parameters:
        hostResourceGroupArn - The ARN of the Host Resource Group in which to launch instances.
        Returns:
        builder
      • partitionNumber

        public LaunchTemplatePlacementArgs.Builder partitionNumber​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.Integer> partitionNumber)
        Parameters:
        partitionNumber - The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
        Returns:
        builder
      • partitionNumber

        public LaunchTemplatePlacementArgs.Builder partitionNumber​(java.lang.Integer partitionNumber)
        Parameters:
        partitionNumber - The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.
        Returns:
        builder
      • spreadDomain

        public LaunchTemplatePlacementArgs.Builder spreadDomain​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> spreadDomain)
        Parameters:
        spreadDomain - Reserved for future use.
        Returns:
        builder
      • spreadDomain

        public LaunchTemplatePlacementArgs.Builder spreadDomain​(java.lang.String spreadDomain)
        Parameters:
        spreadDomain - Reserved for future use.
        Returns:
        builder
      • tenancy

        public LaunchTemplatePlacementArgs.Builder tenancy​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> tenancy)
        Parameters:
        tenancy - The tenancy of the instance (if the instance is running in a VPC). Can be `default`, `dedicated`, or `host`.
        Returns:
        builder
      • tenancy

        public LaunchTemplatePlacementArgs.Builder tenancy​(java.lang.String tenancy)
        Parameters:
        tenancy - The tenancy of the instance (if the instance is running in a VPC). Can be `default`, `dedicated`, or `host`.
        Returns:
        builder