Interface DetachVolumeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DetachVolumeResponse.Builder,DetachVolumeResponse>
,Ec2Response.Builder
,SdkBuilder<DetachVolumeResponse.Builder,DetachVolumeResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DetachVolumeResponse
public static interface DetachVolumeResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DetachVolumeResponse.Builder,DetachVolumeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetachVolumeResponse.Builder
associatedResource(String associatedResource)
The ARN of the Amazon ECS or Fargate task to which the volume is attached.DetachVolumeResponse.Builder
attachTime(Instant attachTime)
The time stamp when the attachment initiated.DetachVolumeResponse.Builder
deleteOnTermination(Boolean deleteOnTermination)
Indicates whether the EBS volume is deleted on instance termination.DetachVolumeResponse.Builder
device(String device)
The device name.DetachVolumeResponse.Builder
instanceId(String instanceId)
The ID of the instance.DetachVolumeResponse.Builder
instanceOwningService(String instanceOwningService)
The service principal of Amazon Web Services service that owns the underlying instance to which the volume is attached.DetachVolumeResponse.Builder
state(String state)
The attachment state of the volume.DetachVolumeResponse.Builder
state(VolumeAttachmentState state)
The attachment state of the volume.DetachVolumeResponse.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
DetachVolumeResponse.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
DetachVolumeResponse.Builder device(String device)
The device name.
If the volume is attached to a Fargate task, this parameter returns
null
.- Parameters:
device
- The device name.If the volume is attached to a Fargate task, this parameter returns
null
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
DetachVolumeResponse.Builder instanceId(String instanceId)
The ID of the instance.
If the volume is attached to a Fargate task, this parameter returns
null
.- Parameters:
instanceId
- The ID of the instance.If the volume is attached to a Fargate task, this parameter returns
null
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
DetachVolumeResponse.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
DetachVolumeResponse.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
DetachVolumeResponse.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
DetachVolumeResponse.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.
-
associatedResource
DetachVolumeResponse.Builder associatedResource(String associatedResource)
The ARN of the Amazon ECS or Fargate task to which the volume is attached.
- Parameters:
associatedResource
- The ARN of the Amazon ECS or Fargate task to which the volume is attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceOwningService
DetachVolumeResponse.Builder instanceOwningService(String instanceOwningService)
The service principal of Amazon Web Services service that owns the underlying instance to which the volume is attached.
This parameter is returned only for volumes that are attached to Fargate tasks.
- Parameters:
instanceOwningService
- The service principal of Amazon Web Services service that owns the underlying instance to which the volume is attached.This parameter is returned only for volumes that are attached to Fargate tasks.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-