Class VolumeCopyArgs.Builder

  • Enclosing class:
    VolumeCopyArgs

    public static final class VolumeCopyArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • iops

        public VolumeCopyArgs.Builder iops​(@Nullable
                                           com.pulumi.core.Output<java.lang.Integer> iops)
        Parameters:
        iops - Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as `gp3`.
        Returns:
        builder
      • iops

        public VolumeCopyArgs.Builder iops​(java.lang.Integer iops)
        Parameters:
        iops - Provisioned IOPS for the copied volume. Use only with volume types that support provisioned IOPS, such as `gp3`.
        Returns:
        builder
      • region

        public VolumeCopyArgs.Builder region​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. This must match the Region of the source EBS volume referenced by `sourceVolumeId`.
        Returns:
        builder
      • region

        public VolumeCopyArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. This must match the Region of the source EBS volume referenced by `sourceVolumeId`.
        Returns:
        builder
      • size

        public VolumeCopyArgs.Builder size​(@Nullable
                                           com.pulumi.core.Output<java.lang.Integer> size)
        Parameters:
        size - Size of the copied volume, in GiB.
        Returns:
        builder
      • size

        public VolumeCopyArgs.Builder size​(java.lang.Integer size)
        Parameters:
        size - Size of the copied volume, in GiB.
        Returns:
        builder
      • sourceVolumeId

        public VolumeCopyArgs.Builder sourceVolumeId​(com.pulumi.core.Output<java.lang.String> sourceVolumeId)
        Parameters:
        sourceVolumeId - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
        Returns:
        builder
      • sourceVolumeId

        public VolumeCopyArgs.Builder sourceVolumeId​(java.lang.String sourceVolumeId)
        Parameters:
        sourceVolumeId - ID of the source EBS volume to copy. Changing this value forces replacement of the resource.
        Returns:
        builder
      • tags

        public VolumeCopyArgs.Builder tags​(@Nullable
                                           com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of tags to assign to the copied volume. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public VolumeCopyArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of tags to assign to the copied volume. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • throughput

        public VolumeCopyArgs.Builder throughput​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Integer> throughput)
        Parameters:
        throughput - Throughput for the copied volume, in MiB/s. Valid only when `volumeType` is `gp3`.
        Returns:
        builder
      • throughput

        public VolumeCopyArgs.Builder throughput​(java.lang.Integer throughput)
        Parameters:
        throughput - Throughput for the copied volume, in MiB/s. Valid only when `volumeType` is `gp3`.
        Returns:
        builder
      • volumeType

        public VolumeCopyArgs.Builder volumeType​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> volumeType)
        Parameters:
        volumeType - Type of the copied EBS volume. Valid values include `gp2`, `gp3`, `io1`, `io2`, `sc1`, `st1`, and `standard`. > **NOTE:** When changing the `size`, `iops` or `type` of a volume, there are [considerations](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) to be aware of.
        Returns:
        builder
      • volumeType

        public VolumeCopyArgs.Builder volumeType​(java.lang.String volumeType)
        Parameters:
        volumeType - Type of the copied EBS volume. Valid values include `gp2`, `gp3`, `io1`, `io2`, `sc1`, `st1`, and `standard`. > **NOTE:** When changing the `size`, `iops` or `type` of a volume, there are [considerations](https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html) to be aware of.
        Returns:
        builder