Package com.pulumi.aws.ec2.inputs
Class AmiFromInstanceEbsBlockDeviceArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.AmiFromInstanceEbsBlockDeviceArgs.Builder
-
- Enclosing class:
- AmiFromInstanceEbsBlockDeviceArgs
public static final class AmiFromInstanceEbsBlockDeviceArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AmiFromInstanceEbsBlockDeviceArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AmiFromInstanceEbsBlockDeviceArgs defaults)
-
-
Method Detail
-
deleteOnTermination
public AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs.Builder deviceName(@Nullable com.pulumi.core.Output<java.lang.String> deviceName)
- Parameters:
deviceName- Path at which the device is exposed to created instances.- Returns:
- builder
-
deviceName
public AmiFromInstanceEbsBlockDeviceArgs.Builder deviceName(java.lang.String deviceName)
- Parameters:
deviceName- Path at which the device is exposed to created instances.- Returns:
- builder
-
encrypted
public AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs.Builder iops(java.lang.Integer iops)
- Parameters:
iops- Number of I/O operations per second the created volumes will support.- Returns:
- builder
-
outpostArn
public AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs.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 AmiFromInstanceEbsBlockDeviceArgs build()
-
-