Class VolumeCopyState.Builder

  • Enclosing class:
    VolumeCopyState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public VolumeCopyState.Builder arn​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the copied EBS volume.
        Returns:
        builder
      • arn

        public VolumeCopyState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the copied EBS volume.
        Returns:
        builder
      • availabilityZone

        public VolumeCopyState.Builder availabilityZone​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - Availability Zone for the copied volume.
        Returns:
        builder
      • availabilityZone

        public VolumeCopyState.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - Availability Zone for the copied volume.
        Returns:
        builder
      • iops

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

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

        public VolumeCopyState.Builder sourceVolumeId​(@Nullable
                                                      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 VolumeCopyState.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 VolumeCopyState.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 VolumeCopyState.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
      • tagsAll

        public VolumeCopyState.Builder tagsAll​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public VolumeCopyState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • throughput

        public VolumeCopyState.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 VolumeCopyState.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 VolumeCopyState.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 VolumeCopyState.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