public static interface DescribeSnapshotsResponse.Builder extends ElastiCacheResponse.Builder, SdkPojo, CopyableBuilder<DescribeSnapshotsResponse.Builder,DescribeSnapshotsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeSnapshotsResponse.Builder |
marker(String marker)
An optional marker returned from a prior request.
|
DescribeSnapshotsResponse.Builder |
snapshots(Collection<Snapshot> snapshots)
A list of snapshots.
|
DescribeSnapshotsResponse.Builder |
snapshots(Consumer<Snapshot.Builder>... snapshots)
A list of snapshots.
|
DescribeSnapshotsResponse.Builder |
snapshots(Snapshot... snapshots)
A list of snapshots.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeSnapshotsResponse.Builder marker(String marker)
An optional marker returned from a prior request. Use this marker for pagination of results from this
operation. If this parameter is specified, the response includes only records beyond the marker, up to the
value specified by MaxRecords
.
marker
- An optional marker returned from a prior request. Use this marker for pagination of results from this
operation. If this parameter is specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords
.DescribeSnapshotsResponse.Builder snapshots(Collection<Snapshot> snapshots)
A list of snapshots. Each item in the list contains detailed information about one snapshot.
snapshots
- A list of snapshots. Each item in the list contains detailed information about one snapshot.DescribeSnapshotsResponse.Builder snapshots(Snapshot... snapshots)
A list of snapshots. Each item in the list contains detailed information about one snapshot.
snapshots
- A list of snapshots. Each item in the list contains detailed information about one snapshot.DescribeSnapshotsResponse.Builder snapshots(Consumer<Snapshot.Builder>... snapshots)
A list of snapshots. Each item in the list contains detailed information about one snapshot.
This is a convenience 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 #snapshots(List)
.snapshots
- a consumer that will call methods on List.Builder
#snapshots(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.