public static interface DetachVolumeResponse.Builder extends Ec2Response.Builder, CopyableBuilder<DetachVolumeResponse.Builder,DetachVolumeResponse>
Modifier and Type | Method and Description |
---|---|
default DetachVolumeResponse.Builder |
attachment(Consumer<VolumeAttachment.Builder> attachment)
Describes volume attachment details.
|
DetachVolumeResponse.Builder |
attachment(VolumeAttachment attachment)
Describes volume attachment details.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DetachVolumeResponse.Builder attachment(VolumeAttachment attachment)
Describes volume attachment details.
attachment
- Describes volume attachment details.default DetachVolumeResponse.Builder attachment(Consumer<VolumeAttachment.Builder> attachment)
Describes volume attachment details.
This is a convenience that creates an instance of theVolumeAttachment.Builder
avoiding the need to
create one manually via VolumeAttachment.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to attachment(VolumeAttachment)
.attachment
- a consumer that will call methods on VolumeAttachment.Builder
attachment(VolumeAttachment)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.