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
NextToken value to include in a future DescribeVolumes request. |
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 theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #volumes(List)
.volumes
- a consumer that will call methods on List.Builder
#volumes(List)
DescribeVolumesResponse.Builder nextToken(String nextToken)
The NextToken
value to include in a future DescribeVolumes
request. When the
results of a DescribeVolumes
request exceed MaxResults
, this value can be used to
retrieve the next page of results. This value is null
when there are no more results to return.
nextToken
- The NextToken
value to include in a future DescribeVolumes
request. When the
results of a DescribeVolumes
request exceed MaxResults
, this value can be
used to retrieve the next page of results. This value is null
when there are no more
results to return.Copyright © 2022. All rights reserved.