CopyableBuilder<DescribeSnapshotsRequest.Builder,DescribeSnapshotsRequest>
, SdkBuilder<DescribeSnapshotsRequest.Builder,DescribeSnapshotsRequest>
public static interface DescribeSnapshotsRequest.Builder extends CopyableBuilder<DescribeSnapshotsRequest.Builder,DescribeSnapshotsRequest>
Modifier and Type | Method | Description |
---|---|---|
DescribeSnapshotsRequest.Builder |
directoryId(String directoryId) |
The identifier of the directory for which to retrieve snapshot information.
|
DescribeSnapshotsRequest.Builder |
limit(Integer limit) |
The maximum number of objects to return.
|
DescribeSnapshotsRequest.Builder |
nextToken(String nextToken) |
The DescribeSnapshotsResult.NextToken value from a previous call to DescribeSnapshots.
|
DescribeSnapshotsRequest.Builder |
snapshotIds(String... snapshotIds) |
A list of identifiers of the snapshots to obtain the information for.
|
DescribeSnapshotsRequest.Builder |
snapshotIds(Collection<String> snapshotIds) |
A list of identifiers of the snapshots to obtain the information for.
|
copy
apply, build
DescribeSnapshotsRequest.Builder directoryId(String directoryId)
The identifier of the directory for which to retrieve snapshot information.
directoryId
- The identifier of the directory for which to retrieve snapshot information.DescribeSnapshotsRequest.Builder snapshotIds(Collection<String> snapshotIds)
A list of identifiers of the snapshots to obtain the information for. If this member is null or empty, all snapshots are returned using the Limit and NextToken members.
snapshotIds
- A list of identifiers of the snapshots to obtain the information for. If this member is null or empty,
all snapshots are returned using the Limit and NextToken members.DescribeSnapshotsRequest.Builder snapshotIds(String... snapshotIds)
A list of identifiers of the snapshots to obtain the information for. If this member is null or empty, all snapshots are returned using the Limit and NextToken members.
NOTE: This method appends the values to the existing list (if any). Use
#setSnapshotIds(java.util.Collection)
or #withSnapshotIds(java.util.Collection)
if you want
to override the existing values.
snapshotIds
- A list of identifiers of the snapshots to obtain the information for. If this member is null or empty,
all snapshots are returned using the Limit and NextToken members.DescribeSnapshotsRequest.Builder nextToken(String nextToken)
The DescribeSnapshotsResult.NextToken value from a previous call to DescribeSnapshots. Pass null if this is the first call.
nextToken
- The DescribeSnapshotsResult.NextToken value from a previous call to DescribeSnapshots.
Pass null if this is the first call.DescribeSnapshotsRequest.Builder limit(Integer limit)
The maximum number of objects to return.
limit
- The maximum number of objects to return.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.