Package com.pulumi.aws.ec2.inputs
Class AmiEbsBlockDeviceArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.AmiEbsBlockDeviceArgs.Builder
-
- Enclosing class:
- AmiEbsBlockDeviceArgs
public static final class AmiEbsBlockDeviceArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AmiEbsBlockDeviceArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AmiEbsBlockDeviceArgsbuild()AmiEbsBlockDeviceArgs.BuilderdeleteOnTermination(com.pulumi.core.Output<java.lang.Boolean> deleteOnTermination)AmiEbsBlockDeviceArgs.BuilderdeleteOnTermination(java.lang.Boolean deleteOnTermination)AmiEbsBlockDeviceArgs.BuilderdeviceName(com.pulumi.core.Output<java.lang.String> deviceName)AmiEbsBlockDeviceArgs.BuilderdeviceName(java.lang.String deviceName)AmiEbsBlockDeviceArgs.Builderencrypted(com.pulumi.core.Output<java.lang.Boolean> encrypted)AmiEbsBlockDeviceArgs.Builderencrypted(java.lang.Boolean encrypted)AmiEbsBlockDeviceArgs.Builderiops(com.pulumi.core.Output<java.lang.Integer> iops)AmiEbsBlockDeviceArgs.Builderiops(java.lang.Integer iops)AmiEbsBlockDeviceArgs.BuilderoutpostArn(com.pulumi.core.Output<java.lang.String> outpostArn)AmiEbsBlockDeviceArgs.BuilderoutpostArn(java.lang.String outpostArn)AmiEbsBlockDeviceArgs.BuildersnapshotId(com.pulumi.core.Output<java.lang.String> snapshotId)AmiEbsBlockDeviceArgs.BuildersnapshotId(java.lang.String snapshotId)AmiEbsBlockDeviceArgs.Builderthroughput(com.pulumi.core.Output<java.lang.Integer> throughput)AmiEbsBlockDeviceArgs.Builderthroughput(java.lang.Integer throughput)AmiEbsBlockDeviceArgs.BuildervolumeSize(com.pulumi.core.Output<java.lang.Integer> volumeSize)AmiEbsBlockDeviceArgs.BuildervolumeSize(java.lang.Integer volumeSize)AmiEbsBlockDeviceArgs.BuildervolumeType(com.pulumi.core.Output<java.lang.String> volumeType)AmiEbsBlockDeviceArgs.BuildervolumeType(java.lang.String volumeType)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AmiEbsBlockDeviceArgs defaults)
-
-
Method Detail
-
deleteOnTermination
public AmiEbsBlockDeviceArgs.Builder deleteOnTermination(@Nullable com.pulumi.core.Output<java.lang.Boolean> deleteOnTermination)
- Parameters:
deleteOnTermination- Boolean controlling whether the EBS volumes created to support each created instance will be deleted once that instance is terminated.- Returns:
- builder
-
deleteOnTermination
public AmiEbsBlockDeviceArgs.Builder deleteOnTermination(java.lang.Boolean deleteOnTermination)
- Parameters:
deleteOnTermination- Boolean controlling whether the EBS volumes created to support each created instance will be deleted once that instance is terminated.- Returns:
- builder
-
deviceName
public AmiEbsBlockDeviceArgs.Builder deviceName(com.pulumi.core.Output<java.lang.String> deviceName)
- Parameters:
deviceName- Path at which the device is exposed to created instances.- Returns:
- builder
-
deviceName
public AmiEbsBlockDeviceArgs.Builder deviceName(java.lang.String deviceName)
- Parameters:
deviceName- Path at which the device is exposed to created instances.- Returns:
- builder
-
encrypted
public AmiEbsBlockDeviceArgs.Builder encrypted(@Nullable com.pulumi.core.Output<java.lang.Boolean> encrypted)
- Parameters:
encrypted- Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshotId`.- Returns:
- builder
-
encrypted
public AmiEbsBlockDeviceArgs.Builder encrypted(java.lang.Boolean encrypted)
- Parameters:
encrypted- Boolean controlling whether the created EBS volumes will be encrypted. Can't be used with `snapshotId`.- Returns:
- builder
-
iops
public AmiEbsBlockDeviceArgs.Builder iops(@Nullable com.pulumi.core.Output<java.lang.Integer> iops)
- Parameters:
iops- Number of I/O operations per second the created volumes will support.- Returns:
- builder
-
iops
public AmiEbsBlockDeviceArgs.Builder iops(java.lang.Integer iops)
- Parameters:
iops- Number of I/O operations per second the created volumes will support.- Returns:
- builder
-
outpostArn
public AmiEbsBlockDeviceArgs.Builder outpostArn(@Nullable com.pulumi.core.Output<java.lang.String> outpostArn)
- Parameters:
outpostArn- ARN of the Outpost on which the snapshot is stored. > **Note:** You can specify `encrypted` or `snapshotId` but not both.- Returns:
- builder
-
outpostArn
public AmiEbsBlockDeviceArgs.Builder outpostArn(java.lang.String outpostArn)
- Parameters:
outpostArn- ARN of the Outpost on which the snapshot is stored. > **Note:** You can specify `encrypted` or `snapshotId` but not both.- Returns:
- builder
-
snapshotId
public AmiEbsBlockDeviceArgs.Builder snapshotId(@Nullable com.pulumi.core.Output<java.lang.String> snapshotId)
- Parameters:
snapshotId- ID of an EBS snapshot that will be used to initialize the created EBS volumes. If set, the `volumeSize` attribute must be at least as large as the referenced snapshot.- Returns:
- builder
-
snapshotId
public AmiEbsBlockDeviceArgs.Builder snapshotId(java.lang.String snapshotId)
- Parameters:
snapshotId- ID of an EBS snapshot that will be used to initialize the created EBS volumes. If set, the `volumeSize` attribute must be at least as large as the referenced snapshot.- Returns:
- builder
-
throughput
public AmiEbsBlockDeviceArgs.Builder throughput(@Nullable com.pulumi.core.Output<java.lang.Integer> throughput)
- Parameters:
throughput- Throughput that the EBS volume supports, in MiB/s. Only valid for `volumeType` of `gp3`.- Returns:
- builder
-
throughput
public AmiEbsBlockDeviceArgs.Builder throughput(java.lang.Integer throughput)
- Parameters:
throughput- Throughput that the EBS volume supports, in MiB/s. Only valid for `volumeType` of `gp3`.- Returns:
- builder
-
volumeSize
public AmiEbsBlockDeviceArgs.Builder volumeSize(@Nullable com.pulumi.core.Output<java.lang.Integer> volumeSize)
- Parameters:
volumeSize- Size of created volumes in GiB. If `snapshotId` is set and `volumeSize` is omitted then the volume will have the same size as the selected snapshot.- Returns:
- builder
-
volumeSize
public AmiEbsBlockDeviceArgs.Builder volumeSize(java.lang.Integer volumeSize)
- Parameters:
volumeSize- Size of created volumes in GiB. If `snapshotId` is set and `volumeSize` is omitted then the volume will have the same size as the selected snapshot.- Returns:
- builder
-
volumeType
public AmiEbsBlockDeviceArgs.Builder volumeType(@Nullable com.pulumi.core.Output<java.lang.String> volumeType)
- Parameters:
volumeType- Type of EBS volume to create. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `standard`).- Returns:
- builder
-
volumeType
public AmiEbsBlockDeviceArgs.Builder volumeType(java.lang.String volumeType)
- Parameters:
volumeType- Type of EBS volume to create. Can be `standard`, `gp2`, `gp3`, `io1`, `io2`, `sc1` or `st1` (Default: `standard`).- Returns:
- builder
-
build
public AmiEbsBlockDeviceArgs build()
-
-