Interface AttachVolumeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AttachVolumeResponse.Builder,AttachVolumeResponse>
,Ec2Response.Builder
,SdkBuilder<AttachVolumeResponse.Builder,AttachVolumeResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- AttachVolumeResponse
public static interface AttachVolumeResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AttachVolumeResponse.Builder,AttachVolumeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttachVolumeResponse.Builder
attachTime(Instant attachTime)
The time stamp when the attachment initiated.AttachVolumeResponse.Builder
deleteOnTermination(Boolean deleteOnTermination)
Indicates whether the EBS volume is deleted on instance termination.AttachVolumeResponse.Builder
device(String device)
The device name.AttachVolumeResponse.Builder
instanceId(String instanceId)
The ID of the instance.AttachVolumeResponse.Builder
state(String state)
The attachment state of the volume.AttachVolumeResponse.Builder
state(VolumeAttachmentState state)
The attachment state of the volume.AttachVolumeResponse.Builder
volumeId(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.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
attachTime
AttachVolumeResponse.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
AttachVolumeResponse.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
AttachVolumeResponse.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
AttachVolumeResponse.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
AttachVolumeResponse.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
AttachVolumeResponse.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
AttachVolumeResponse.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.
-
-