Package com.pulumi.aws.ec2.inputs
Class DedicatedHostState.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.DedicatedHostState.Builder
-
- Enclosing class:
- DedicatedHostState
public static final class DedicatedHostState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(DedicatedHostState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DedicatedHostState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)DedicatedHostState.Builderarn(java.lang.String arn)DedicatedHostState.BuilderassetId(com.pulumi.core.Output<java.lang.String> assetId)DedicatedHostState.BuilderassetId(java.lang.String assetId)DedicatedHostState.BuilderautoPlacement(com.pulumi.core.Output<java.lang.String> autoPlacement)DedicatedHostState.BuilderautoPlacement(java.lang.String autoPlacement)DedicatedHostState.BuilderavailabilityZone(com.pulumi.core.Output<java.lang.String> availabilityZone)DedicatedHostState.BuilderavailabilityZone(java.lang.String availabilityZone)DedicatedHostStatebuild()DedicatedHostState.BuilderhostRecovery(com.pulumi.core.Output<java.lang.String> hostRecovery)DedicatedHostState.BuilderhostRecovery(java.lang.String hostRecovery)DedicatedHostState.BuilderinstanceFamily(com.pulumi.core.Output<java.lang.String> instanceFamily)DedicatedHostState.BuilderinstanceFamily(java.lang.String instanceFamily)DedicatedHostState.BuilderinstanceType(com.pulumi.core.Output<java.lang.String> instanceType)DedicatedHostState.BuilderinstanceType(java.lang.String instanceType)DedicatedHostState.BuilderoutpostArn(com.pulumi.core.Output<java.lang.String> outpostArn)DedicatedHostState.BuilderoutpostArn(java.lang.String outpostArn)DedicatedHostState.BuilderownerId(com.pulumi.core.Output<java.lang.String> ownerId)DedicatedHostState.BuilderownerId(java.lang.String ownerId)DedicatedHostState.Builderregion(com.pulumi.core.Output<java.lang.String> region)DedicatedHostState.Builderregion(java.lang.String region)DedicatedHostState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)DedicatedHostState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)DedicatedHostState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)DedicatedHostState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DedicatedHostState defaults)
-
-
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 `instanceFamily` or `instanceType` 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 `instanceFamily` or `instanceType` 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 `instanceFamily` or `instanceType` 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 `instanceFamily` or `instanceType` must be specified.- Returns:
- builder
-
outpostArn
public DedicatedHostState.Builder outpostArn(@Nullable com.pulumi.core.Output<java.lang.String> outpostArn)
- Parameters:
outpostArn- 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- 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
-
region
public DedicatedHostState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public DedicatedHostState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- 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 `defaultTags` 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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public DedicatedHostState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public DedicatedHostState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
build
public DedicatedHostState build()
-
-