Class AmiEbsBlockDeviceArgs.Builder

  • Enclosing class:
    AmiEbsBlockDeviceArgs

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