Package com.pulumi.aws.ec2.inputs
Class AmiCopyEbsBlockDeviceArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.AmiCopyEbsBlockDeviceArgs.Builder
-
- Enclosing class:
- AmiCopyEbsBlockDeviceArgs
public static final class AmiCopyEbsBlockDeviceArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AmiCopyEbsBlockDeviceArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AmiCopyEbsBlockDeviceArgsbuild()AmiCopyEbsBlockDeviceArgs.BuilderdeleteOnTermination(com.pulumi.core.Output<java.lang.Boolean> deleteOnTermination)AmiCopyEbsBlockDeviceArgs.BuilderdeleteOnTermination(java.lang.Boolean deleteOnTermination)AmiCopyEbsBlockDeviceArgs.BuilderdeviceName(com.pulumi.core.Output<java.lang.String> deviceName)AmiCopyEbsBlockDeviceArgs.BuilderdeviceName(java.lang.String deviceName)AmiCopyEbsBlockDeviceArgs.Builderencrypted(com.pulumi.core.Output<java.lang.Boolean> encrypted)AmiCopyEbsBlockDeviceArgs.Builderencrypted(java.lang.Boolean encrypted)AmiCopyEbsBlockDeviceArgs.Builderiops(com.pulumi.core.Output<java.lang.Integer> iops)AmiCopyEbsBlockDeviceArgs.Builderiops(java.lang.Integer iops)AmiCopyEbsBlockDeviceArgs.BuilderoutpostArn(com.pulumi.core.Output<java.lang.String> outpostArn)AmiCopyEbsBlockDeviceArgs.BuilderoutpostArn(java.lang.String outpostArn)AmiCopyEbsBlockDeviceArgs.BuildersnapshotId(com.pulumi.core.Output<java.lang.String> snapshotId)AmiCopyEbsBlockDeviceArgs.BuildersnapshotId(java.lang.String snapshotId)AmiCopyEbsBlockDeviceArgs.Builderthroughput(com.pulumi.core.Output<java.lang.Integer> throughput)AmiCopyEbsBlockDeviceArgs.Builderthroughput(java.lang.Integer throughput)AmiCopyEbsBlockDeviceArgs.BuildervolumeSize(com.pulumi.core.Output<java.lang.Integer> volumeSize)AmiCopyEbsBlockDeviceArgs.BuildervolumeSize(java.lang.Integer volumeSize)AmiCopyEbsBlockDeviceArgs.BuildervolumeType(com.pulumi.core.Output<java.lang.String> volumeType)AmiCopyEbsBlockDeviceArgs.BuildervolumeType(java.lang.String volumeType)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AmiCopyEbsBlockDeviceArgs defaults)
-
-
Method Detail
-
deleteOnTermination
public AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.Builder deviceName(java.lang.String deviceName)
- Parameters:
deviceName- Path at which the device is exposed to created instances.- Returns:
- builder
-
encrypted
public AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.Builder iops(java.lang.Integer iops)
- Parameters:
iops- Number of I/O operations per second the created volumes will support.- Returns:
- builder
-
outpostArn
public AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs.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 AmiCopyEbsBlockDeviceArgs build()
-
-