CopyableBuilder<DescribeVolumesResponse.Builder,DescribeVolumesResponse>
, SdkBuilder<DescribeVolumesResponse.Builder,DescribeVolumesResponse>
public static interface DescribeVolumesResponse.Builder extends CopyableBuilder<DescribeVolumesResponse.Builder,DescribeVolumesResponse>
Modifier and Type | Method | 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(Volume... volumes) |
Information about the volumes.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setVolumes(java.util.Collection)
or #withVolumes(java.util.Collection)
if you want to
override the existing values.
volumes
- Information about the volumes.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 © 2017 Amazon Web Services, Inc. All Rights Reserved.