Class VolumeV1Args.Builder

  • Enclosing class:
    VolumeV1Args

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

      • Builder

        public Builder()
    • Method Detail

      • availabilityZone

        public VolumeV1Args.Builder availabilityZone​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - The availability zone for the volume. Changing this creates a new volume.
        Returns:
        builder
      • availabilityZone

        public VolumeV1Args.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - The availability zone for the volume. Changing this creates a new volume.
        Returns:
        builder
      • description

        public VolumeV1Args.Builder description​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A description of the volume. Changing this updates the volume's description.
        Returns:
        builder
      • description

        public VolumeV1Args.Builder description​(java.lang.String description)
        Parameters:
        description - A description of the volume. Changing this updates the volume's description.
        Returns:
        builder
      • imageId

        public VolumeV1Args.Builder imageId​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> imageId)
        Parameters:
        imageId - The image ID from which to create the volume. Changing this creates a new volume.
        Returns:
        builder
      • imageId

        public VolumeV1Args.Builder imageId​(java.lang.String imageId)
        Parameters:
        imageId - The image ID from which to create the volume. Changing this creates a new volume.
        Returns:
        builder
      • metadata

        public VolumeV1Args.Builder metadata​(@Nullable
                                             com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.Object>> metadata)
        Parameters:
        metadata - Metadata key/value pairs to associate with the volume. Changing this updates the existing volume metadata.
        Returns:
        builder
      • metadata

        public VolumeV1Args.Builder metadata​(java.util.Map<java.lang.String,​java.lang.Object> metadata)
        Parameters:
        metadata - Metadata key/value pairs to associate with the volume. Changing this updates the existing volume metadata.
        Returns:
        builder
      • name

        public VolumeV1Args.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A unique name for the volume. Changing this updates the volume's name.
        Returns:
        builder
      • name

        public VolumeV1Args.Builder name​(java.lang.String name)
        Parameters:
        name - A unique name for the volume. Changing this updates the volume's name.
        Returns:
        builder
      • region

        public VolumeV1Args.Builder region​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - The region in which to create the volume. If omitted, the `region` argument of the provider is used. Changing this creates a new volume.
        Returns:
        builder
      • region

        public VolumeV1Args.Builder region​(java.lang.String region)
        Parameters:
        region - The region in which to create the volume. If omitted, the `region` argument of the provider is used. Changing this creates a new volume.
        Returns:
        builder
      • size

        public VolumeV1Args.Builder size​(com.pulumi.core.Output<java.lang.Integer> size)
        Parameters:
        size - The size of the volume to create (in gigabytes). Changing this creates a new volume.
        Returns:
        builder
      • size

        public VolumeV1Args.Builder size​(java.lang.Integer size)
        Parameters:
        size - The size of the volume to create (in gigabytes). Changing this creates a new volume.
        Returns:
        builder
      • snapshotId

        public VolumeV1Args.Builder snapshotId​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> snapshotId)
        Parameters:
        snapshotId - The snapshot ID from which to create the volume. Changing this creates a new volume.
        Returns:
        builder
      • snapshotId

        public VolumeV1Args.Builder snapshotId​(java.lang.String snapshotId)
        Parameters:
        snapshotId - The snapshot ID from which to create the volume. Changing this creates a new volume.
        Returns:
        builder
      • sourceVolId

        public VolumeV1Args.Builder sourceVolId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> sourceVolId)
        Parameters:
        sourceVolId - The volume ID from which to create the volume. Changing this creates a new volume.
        Returns:
        builder
      • sourceVolId

        public VolumeV1Args.Builder sourceVolId​(java.lang.String sourceVolId)
        Parameters:
        sourceVolId - The volume ID from which to create the volume. Changing this creates a new volume.
        Returns:
        builder
      • volumeType

        public VolumeV1Args.Builder volumeType​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> volumeType)
        Parameters:
        volumeType - The type of volume to create. Changing this creates a new volume.
        Returns:
        builder
      • volumeType

        public VolumeV1Args.Builder volumeType​(java.lang.String volumeType)
        Parameters:
        volumeType - The type of volume to create. Changing this creates a new volume.
        Returns:
        builder