Package com.pulumi.aws.ec2
Class DedicatedHostArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.DedicatedHostArgs.Builder
-
- Enclosing class:
- DedicatedHostArgs
public static final class DedicatedHostArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(DedicatedHostArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DedicatedHostArgs.BuilderassetId(com.pulumi.core.Output<java.lang.String> assetId)DedicatedHostArgs.BuilderassetId(java.lang.String assetId)DedicatedHostArgs.BuilderautoPlacement(com.pulumi.core.Output<java.lang.String> autoPlacement)DedicatedHostArgs.BuilderautoPlacement(java.lang.String autoPlacement)DedicatedHostArgs.BuilderavailabilityZone(com.pulumi.core.Output<java.lang.String> availabilityZone)DedicatedHostArgs.BuilderavailabilityZone(java.lang.String availabilityZone)DedicatedHostArgsbuild()DedicatedHostArgs.BuilderhostRecovery(com.pulumi.core.Output<java.lang.String> hostRecovery)DedicatedHostArgs.BuilderhostRecovery(java.lang.String hostRecovery)DedicatedHostArgs.BuilderinstanceFamily(com.pulumi.core.Output<java.lang.String> instanceFamily)DedicatedHostArgs.BuilderinstanceFamily(java.lang.String instanceFamily)DedicatedHostArgs.BuilderinstanceType(com.pulumi.core.Output<java.lang.String> instanceType)DedicatedHostArgs.BuilderinstanceType(java.lang.String instanceType)DedicatedHostArgs.BuilderoutpostArn(com.pulumi.core.Output<java.lang.String> outpostArn)DedicatedHostArgs.BuilderoutpostArn(java.lang.String outpostArn)DedicatedHostArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)DedicatedHostArgs.Builderregion(java.lang.String region)DedicatedHostArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)DedicatedHostArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DedicatedHostArgs defaults)
-
-
Method Detail
-
assetId
public DedicatedHostArgs.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 DedicatedHostArgs.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 DedicatedHostArgs.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 DedicatedHostArgs.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 DedicatedHostArgs.Builder availabilityZone(com.pulumi.core.Output<java.lang.String> availabilityZone)
- Parameters:
availabilityZone- The Availability Zone in which to allocate the Dedicated Host.- Returns:
- builder
-
availabilityZone
public DedicatedHostArgs.Builder availabilityZone(java.lang.String availabilityZone)
- Parameters:
availabilityZone- The Availability Zone in which to allocate the Dedicated Host.- Returns:
- builder
-
hostRecovery
public DedicatedHostArgs.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 DedicatedHostArgs.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 DedicatedHostArgs.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 DedicatedHostArgs.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 DedicatedHostArgs.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 DedicatedHostArgs.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 DedicatedHostArgs.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 DedicatedHostArgs.Builder outpostArn(java.lang.String outpostArn)
- Parameters:
outpostArn- ARN of the AWS Outpost on which to allocate the Dedicated Host.- Returns:
- builder
-
region
public DedicatedHostArgs.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 DedicatedHostArgs.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 DedicatedHostArgs.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 DedicatedHostArgs.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
-
build
public DedicatedHostArgs build()
-
-