Interface VolumeAttachment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VolumeAttachment.Builder,VolumeAttachment>,SdkBuilder<VolumeAttachment.Builder,VolumeAttachment>,SdkPojo
- Enclosing class:
- VolumeAttachment
public static interface VolumeAttachment.Builder extends SdkPojo, CopyableBuilder<VolumeAttachment.Builder,VolumeAttachment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VolumeAttachment.BuilderattachTime(Instant attachTime)The time stamp when the attachment initiated.VolumeAttachment.BuilderdeleteOnTermination(Boolean deleteOnTermination)Indicates whether the EBS volume is deleted on instance termination.VolumeAttachment.Builderdevice(String device)The device name.VolumeAttachment.BuilderinstanceId(String instanceId)The ID of the instance.VolumeAttachment.Builderstate(String state)The attachment state of the volume.VolumeAttachment.Builderstate(VolumeAttachmentState state)The attachment state of the volume.VolumeAttachment.BuildervolumeId(String volumeId)The ID of the volume.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
attachTime
VolumeAttachment.Builder attachTime(Instant attachTime)
The time stamp when the attachment initiated.
- Parameters:
attachTime- The time stamp when the attachment initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
device
VolumeAttachment.Builder device(String device)
The device name.
- Parameters:
device- The device name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
VolumeAttachment.Builder instanceId(String instanceId)
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
VolumeAttachment.Builder state(String state)
The attachment state of the volume.
- Parameters:
state- The attachment state of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VolumeAttachmentState,VolumeAttachmentState
-
state
VolumeAttachment.Builder state(VolumeAttachmentState state)
The attachment state of the volume.
- Parameters:
state- The attachment state of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
VolumeAttachmentState,VolumeAttachmentState
-
volumeId
VolumeAttachment.Builder volumeId(String volumeId)
The ID of the volume.
- Parameters:
volumeId- The ID of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteOnTermination
VolumeAttachment.Builder deleteOnTermination(Boolean deleteOnTermination)
Indicates whether the EBS volume is deleted on instance termination.
- Parameters:
deleteOnTermination- Indicates whether the EBS volume is deleted on instance termination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-