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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeVolumesResponse.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 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.