Package com.pulumi.aws.ec2.inputs
Class LaunchConfigurationEbsBlockDeviceArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.LaunchConfigurationEbsBlockDeviceArgs.Builder
-
- Enclosing class:
- LaunchConfigurationEbsBlockDeviceArgs
public static final class LaunchConfigurationEbsBlockDeviceArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(LaunchConfigurationEbsBlockDeviceArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LaunchConfigurationEbsBlockDeviceArgs defaults)
-
-
Method Detail
-
deleteOnTermination
public LaunchConfigurationEbsBlockDeviceArgs.Builder deleteOnTermination(@Nullable com.pulumi.core.Output<java.lang.Boolean> deleteOnTermination)
- Parameters:
deleteOnTermination- Whether the volume should be destroyed on instance termination (Default: `true`).- Returns:
- builder
-
deleteOnTermination
public LaunchConfigurationEbsBlockDeviceArgs.Builder deleteOnTermination(java.lang.Boolean deleteOnTermination)
- Parameters:
deleteOnTermination- Whether the volume should be destroyed on instance termination (Default: `true`).- Returns:
- builder
-
deviceName
public LaunchConfigurationEbsBlockDeviceArgs.Builder deviceName(com.pulumi.core.Output<java.lang.String> deviceName)
- Parameters:
deviceName- The name of the device to mount.- Returns:
- builder
-
deviceName
public LaunchConfigurationEbsBlockDeviceArgs.Builder deviceName(java.lang.String deviceName)
- Parameters:
deviceName- The name of the device to mount.- Returns:
- builder
-
encrypted
public LaunchConfigurationEbsBlockDeviceArgs.Builder encrypted(@Nullable com.pulumi.core.Output<java.lang.Boolean> encrypted)
- Parameters:
encrypted- Whether the volume should be encrypted or not. Defaults to `false`.- Returns:
- builder
-
encrypted
public LaunchConfigurationEbsBlockDeviceArgs.Builder encrypted(java.lang.Boolean encrypted)
- Parameters:
encrypted- Whether the volume should be encrypted or not. Defaults to `false`.- Returns:
- builder
-
iops
public LaunchConfigurationEbsBlockDeviceArgs.Builder iops(@Nullable com.pulumi.core.Output<java.lang.Integer> iops)
- Parameters:
iops- The amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). This must be set with a `volumeType` of `"io1"`.- Returns:
- builder
-
iops
public LaunchConfigurationEbsBlockDeviceArgs.Builder iops(java.lang.Integer iops)
- Parameters:
iops- The amount of provisioned [IOPS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-io-characteristics.html). This must be set with a `volumeType` of `"io1"`.- Returns:
- builder
-
noDevice
public LaunchConfigurationEbsBlockDeviceArgs.Builder noDevice(@Nullable com.pulumi.core.Output<java.lang.Boolean> noDevice)
- Parameters:
noDevice- Whether the device in the block device mapping of the AMI is suppressed.- Returns:
- builder
-
noDevice
public LaunchConfigurationEbsBlockDeviceArgs.Builder noDevice(java.lang.Boolean noDevice)
- Parameters:
noDevice- Whether the device in the block device mapping of the AMI is suppressed.- Returns:
- builder
-
snapshotId
public LaunchConfigurationEbsBlockDeviceArgs.Builder snapshotId(@Nullable com.pulumi.core.Output<java.lang.String> snapshotId)
- Parameters:
snapshotId- The Snapshot ID to mount.- Returns:
- builder
-
snapshotId
public LaunchConfigurationEbsBlockDeviceArgs.Builder snapshotId(java.lang.String snapshotId)
- Parameters:
snapshotId- The Snapshot ID to mount.- Returns:
- builder
-
throughput
public LaunchConfigurationEbsBlockDeviceArgs.Builder throughput(@Nullable com.pulumi.core.Output<java.lang.Integer> throughput)
- Parameters:
throughput- The throughput (MiBps) to provision for a `gp3` volume.- Returns:
- builder
-
throughput
public LaunchConfigurationEbsBlockDeviceArgs.Builder throughput(java.lang.Integer throughput)
- Parameters:
throughput- The throughput (MiBps) to provision for a `gp3` volume.- Returns:
- builder
-
volumeSize
public LaunchConfigurationEbsBlockDeviceArgs.Builder volumeSize(@Nullable com.pulumi.core.Output<java.lang.Integer> volumeSize)
- Parameters:
volumeSize- The size of the volume in gigabytes.- Returns:
- builder
-
volumeSize
public LaunchConfigurationEbsBlockDeviceArgs.Builder volumeSize(java.lang.Integer volumeSize)
- Parameters:
volumeSize- The size of the volume in gigabytes.- Returns:
- builder
-
volumeType
public LaunchConfigurationEbsBlockDeviceArgs.Builder volumeType(@Nullable com.pulumi.core.Output<java.lang.String> volumeType)
- Parameters:
volumeType- The type of volume. Can be `standard`, `gp2`, `gp3`, `st1`, `sc1` or `io1`.- Returns:
- builder
-
volumeType
public LaunchConfigurationEbsBlockDeviceArgs.Builder volumeType(java.lang.String volumeType)
- Parameters:
volumeType- The type of volume. Can be `standard`, `gp2`, `gp3`, `st1`, `sc1` or `io1`.- Returns:
- builder
-
build
public LaunchConfigurationEbsBlockDeviceArgs build()
-
-