public static interface ModifyVolumeResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyVolumeResponse.Builder,ModifyVolumeResponse>
Modifier and Type | Method and Description |
---|---|
default ModifyVolumeResponse.Builder |
volumeModification(Consumer<VolumeModification.Builder> volumeModification)
Information about the volume modification.
|
ModifyVolumeResponse.Builder |
volumeModification(VolumeModification volumeModification)
Information about the volume modification.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ModifyVolumeResponse.Builder volumeModification(VolumeModification volumeModification)
Information about the volume modification.
volumeModification
- Information about the volume modification.default ModifyVolumeResponse.Builder volumeModification(Consumer<VolumeModification.Builder> volumeModification)
Information about the volume modification.
This is a convenience method that creates an instance of theVolumeModification.Builder
avoiding the
need to create one manually via VolumeModification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to volumeModification(VolumeModification)
.volumeModification
- a consumer that will call methods on VolumeModification.Builder
volumeModification(VolumeModification)
Copyright © 2022. All rights reserved.