Class DedicatedHostState.Builder

  • Enclosing class:
    DedicatedHostState

    public static final class DedicatedHostState.Builder
    extends java.lang.Object
    • Method Detail

      • arn

        public DedicatedHostState.Builder arn​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The ARN of the Dedicated Host.
        Returns:
        builder
      • arn

        public DedicatedHostState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The ARN of the Dedicated Host.
        Returns:
        builder
      • assetId

        public DedicatedHostState.Builder assetId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> assetId)
        Parameters:
        assetId - The ID of the Outpost hardware asset on which to allocate the Dedicated Hosts. This parameter is supported only if you specify OutpostArn. If you are allocating the Dedicated Hosts in a Region, omit this parameter.
        Returns:
        builder
      • assetId

        public DedicatedHostState.Builder assetId​(java.lang.String assetId)
        Parameters:
        assetId - The ID of the Outpost hardware asset on which to allocate the Dedicated Hosts. This parameter is supported only if you specify OutpostArn. If you are allocating the Dedicated Hosts in a Region, omit this parameter.
        Returns:
        builder
      • autoPlacement

        public DedicatedHostState.Builder autoPlacement​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> autoPlacement)
        Parameters:
        autoPlacement - Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. Valid values: `on`, `off`. Default: `on`.
        Returns:
        builder
      • autoPlacement

        public DedicatedHostState.Builder autoPlacement​(java.lang.String autoPlacement)
        Parameters:
        autoPlacement - Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. Valid values: `on`, `off`. Default: `on`.
        Returns:
        builder
      • availabilityZone

        public DedicatedHostState.Builder availabilityZone​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - The Availability Zone in which to allocate the Dedicated Host.
        Returns:
        builder
      • availabilityZone

        public DedicatedHostState.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - The Availability Zone in which to allocate the Dedicated Host.
        Returns:
        builder
      • hostRecovery

        public DedicatedHostState.Builder hostRecovery​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> hostRecovery)
        Parameters:
        hostRecovery - Indicates whether to enable or disable host recovery for the Dedicated Host. Valid values: `on`, `off`. Default: `off`.
        Returns:
        builder
      • hostRecovery

        public DedicatedHostState.Builder hostRecovery​(java.lang.String hostRecovery)
        Parameters:
        hostRecovery - Indicates whether to enable or disable host recovery for the Dedicated Host. Valid values: `on`, `off`. Default: `off`.
        Returns:
        builder
      • instanceFamily

        public DedicatedHostState.Builder instanceFamily​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> instanceFamily)
        Parameters:
        instanceFamily - Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family. Exactly one of `instance_family` or `instance_type` must be specified.
        Returns:
        builder
      • instanceFamily

        public DedicatedHostState.Builder instanceFamily​(java.lang.String instanceFamily)
        Parameters:
        instanceFamily - Specifies the instance family to be supported by the Dedicated Hosts. If you specify an instance family, the Dedicated Hosts support multiple instance types within that instance family. Exactly one of `instance_family` or `instance_type` must be specified.
        Returns:
        builder
      • instanceType

        public DedicatedHostState.Builder instanceType​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> instanceType)
        Parameters:
        instanceType - Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only. Exactly one of `instance_family` or `instance_type` must be specified.
        Returns:
        builder
      • instanceType

        public DedicatedHostState.Builder instanceType​(java.lang.String instanceType)
        Parameters:
        instanceType - Specifies the instance type to be supported by the Dedicated Hosts. If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only. Exactly one of `instance_family` or `instance_type` must be specified.
        Returns:
        builder
      • outpostArn

        public DedicatedHostState.Builder outpostArn​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> outpostArn)
        Parameters:
        outpostArn - The Amazon Resource Name (ARN) of the AWS Outpost on which to allocate the Dedicated Host.
        Returns:
        builder
      • outpostArn

        public DedicatedHostState.Builder outpostArn​(java.lang.String outpostArn)
        Parameters:
        outpostArn - The Amazon Resource Name (ARN) of the AWS Outpost on which to allocate the Dedicated Host.
        Returns:
        builder
      • ownerId

        public DedicatedHostState.Builder ownerId​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> ownerId)
        Parameters:
        ownerId - The ID of the AWS account that owns the Dedicated Host.
        Returns:
        builder
      • ownerId

        public DedicatedHostState.Builder ownerId​(java.lang.String ownerId)
        Parameters:
        ownerId - The ID of the AWS account that owns the Dedicated Host.
        Returns:
        builder
      • tags

        public DedicatedHostState.Builder tags​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to this resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public DedicatedHostState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to this resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public DedicatedHostState.Builder tagsAll​(@Nullable
                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public DedicatedHostState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder