Class AmiCopyEbsBlockDeviceArgs.Builder

  • Enclosing class:
    AmiCopyEbsBlockDeviceArgs

    public static final class AmiCopyEbsBlockDeviceArgs.Builder
    extends java.lang.Object
    • 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