public static interface DescribeClusterSnapshotsResponse.Builder extends RedshiftResponse.Builder, CopyableBuilder<DescribeClusterSnapshotsResponse.Builder,DescribeClusterSnapshotsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeClusterSnapshotsResponse.Builder |
marker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request.
|
DescribeClusterSnapshotsResponse.Builder |
snapshots(Collection<Snapshot> snapshots)
A list of Snapshot instances.
|
DescribeClusterSnapshotsResponse.Builder |
snapshots(Consumer<Snapshot.Builder>... snapshots)
A list of Snapshot instances.
|
DescribeClusterSnapshotsResponse.Builder |
snapshots(Snapshot... snapshots)
A list of Snapshot instances.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeClusterSnapshotsResponse.Builder marker(String marker)
A value that indicates the starting point for the next set of response records in a subsequent request. If a
value is returned in a response, you can retrieve the next set of records by providing this returned marker
value in the Marker
parameter and retrying the command. If the Marker
field is
empty, all response records have been retrieved for the request.
marker
- A value that indicates the starting point for the next set of response records in a subsequent
request. If a value is returned in a response, you can retrieve the next set of records by providing
this returned marker value in the Marker
parameter and retrying the command. If the
Marker
field is empty, all response records have been retrieved for the request.DescribeClusterSnapshotsResponse.Builder snapshots(Collection<Snapshot> snapshots)
A list of Snapshot instances.
snapshots
- A list of Snapshot instances.DescribeClusterSnapshotsResponse.Builder snapshots(Snapshot... snapshots)
A list of Snapshot instances.
snapshots
- A list of Snapshot instances.DescribeClusterSnapshotsResponse.Builder snapshots(Consumer<Snapshot.Builder>... snapshots)
A list of Snapshot instances.
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.