public static interface DescribeVolumesResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeVolumesResponse.Builder,DescribeVolumesResponse>
Modifier and Type | Method and Description |
---|---|
DescribeVolumesResponse.Builder |
nextToken(String nextToken)
The token to include in another request to get the next page of items.
|
DescribeVolumesResponse.Builder |
volumes(Collection<Volume> volumes)
Information about the volumes.
|
DescribeVolumesResponse.Builder |
volumes(Consumer<Volume.Builder>... volumes)
Information about the volumes.
|
DescribeVolumesResponse.Builder |
volumes(Volume... volumes)
Information about the volumes.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeVolumesResponse.Builder volumes(Collection<Volume> volumes)
Information about the volumes.
volumes
- Information about the volumes.DescribeVolumesResponse.Builder volumes(Volume... volumes)
Information about the volumes.
volumes
- Information about the volumes.DescribeVolumesResponse.Builder volumes(Consumer<Volume.Builder>... volumes)
Information about the volumes.
This is a convenience method that creates an instance of theVolume.Builder
avoiding the need to create one manually via
Volume.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is passed to #volumes(List
.
volumes
- a consumer that will call methods on Volume.Builder
#volumes(java.util.Collection)
DescribeVolumesResponse.Builder nextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when
there are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.Copyright © 2023. All rights reserved.