Class VolumeV1State.Builder
- java.lang.Object
-
- com.pulumi.openstack.blockstorage.inputs.VolumeV1State.Builder
-
- Enclosing class:
- VolumeV1State
public static final class VolumeV1State.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(VolumeV1State defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VolumeV1State.Builderattachments(com.pulumi.core.Output<java.util.List<VolumeV1AttachmentArgs>> attachments)VolumeV1State.Builderattachments(VolumeV1AttachmentArgs... attachments)VolumeV1State.Builderattachments(java.util.List<VolumeV1AttachmentArgs> attachments)VolumeV1State.BuilderavailabilityZone(com.pulumi.core.Output<java.lang.String> availabilityZone)VolumeV1State.BuilderavailabilityZone(java.lang.String availabilityZone)VolumeV1Statebuild()VolumeV1State.Builderdescription(com.pulumi.core.Output<java.lang.String> description)VolumeV1State.Builderdescription(java.lang.String description)VolumeV1State.BuilderimageId(com.pulumi.core.Output<java.lang.String> imageId)VolumeV1State.BuilderimageId(java.lang.String imageId)VolumeV1State.Buildermetadata(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>> metadata)VolumeV1State.Buildermetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)VolumeV1State.Buildername(com.pulumi.core.Output<java.lang.String> name)VolumeV1State.Buildername(java.lang.String name)VolumeV1State.Builderregion(com.pulumi.core.Output<java.lang.String> region)VolumeV1State.Builderregion(java.lang.String region)VolumeV1State.Buildersize(com.pulumi.core.Output<java.lang.Integer> size)VolumeV1State.Buildersize(java.lang.Integer size)VolumeV1State.BuildersnapshotId(com.pulumi.core.Output<java.lang.String> snapshotId)VolumeV1State.BuildersnapshotId(java.lang.String snapshotId)VolumeV1State.BuildersourceVolId(com.pulumi.core.Output<java.lang.String> sourceVolId)VolumeV1State.BuildersourceVolId(java.lang.String sourceVolId)VolumeV1State.BuildervolumeType(com.pulumi.core.Output<java.lang.String> volumeType)VolumeV1State.BuildervolumeType(java.lang.String volumeType)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(VolumeV1State defaults)
-
-
Method Detail
-
attachments
public VolumeV1State.Builder attachments(@Nullable com.pulumi.core.Output<java.util.List<VolumeV1AttachmentArgs>> attachments)
- Parameters:
attachments- If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.- Returns:
- builder
-
attachments
public VolumeV1State.Builder attachments(java.util.List<VolumeV1AttachmentArgs> attachments)
- Parameters:
attachments- If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.- Returns:
- builder
-
attachments
public VolumeV1State.Builder attachments(VolumeV1AttachmentArgs... attachments)
- Parameters:
attachments- If a volume is attached to an instance, this attribute will display the Attachment ID, Instance ID, and the Device as the Instance sees it.- Returns:
- builder
-
availabilityZone
public VolumeV1State.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 VolumeV1State.Builder availabilityZone(java.lang.String availabilityZone)
- Parameters:
availabilityZone- The availability zone for the volume. Changing this creates a new volume.- Returns:
- builder
-
description
public VolumeV1State.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 VolumeV1State.Builder description(java.lang.String description)
- Parameters:
description- A description of the volume. Changing this updates the volume's description.- Returns:
- builder
-
imageId
public VolumeV1State.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 VolumeV1State.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 VolumeV1State.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 VolumeV1State.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 VolumeV1State.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 VolumeV1State.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 VolumeV1State.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 VolumeV1State.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 VolumeV1State.Builder size(@Nullable 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 VolumeV1State.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 VolumeV1State.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 VolumeV1State.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 VolumeV1State.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 VolumeV1State.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 VolumeV1State.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 VolumeV1State.Builder volumeType(java.lang.String volumeType)
- Parameters:
volumeType- The type of volume to create. Changing this creates a new volume.- Returns:
- builder
-
build
public VolumeV1State build()
-
-