Interface CopyVolumesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CopyVolumesResponse.Builder,CopyVolumesResponse>,Ec2Response.Builder,SdkBuilder<CopyVolumesResponse.Builder,CopyVolumesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CopyVolumesResponse
@Mutable @NotThreadSafe public static interface CopyVolumesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CopyVolumesResponse.Builder,CopyVolumesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CopyVolumesResponse.Buildervolumes(Collection<Volume> volumes)Information about the volume copy.CopyVolumesResponse.Buildervolumes(Consumer<Volume.Builder>... volumes)Information about the volume copy.CopyVolumesResponse.Buildervolumes(Volume... volumes)Information about the volume copy.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
volumes
CopyVolumesResponse.Builder volumes(Collection<Volume> volumes)
Information about the volume copy.
- Parameters:
volumes- Information about the volume copy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumes
CopyVolumesResponse.Builder volumes(Volume... volumes)
Information about the volume copy.
- Parameters:
volumes- Information about the volume copy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumes
CopyVolumesResponse.Builder volumes(Consumer<Volume.Builder>... volumes)
Information about the volume copy.
This is a convenience method that creates an instance of theVolume.Builderavoiding the need to create one manually viaVolume.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#volumes(List.) - Parameters:
volumes- a consumer that will call methods onVolume.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#volumes(java.util.Collection)
-
-