public static interface ListClusterSnapshotsResponse.Builder extends DocDbElasticResponse.Builder, SdkPojo, CopyableBuilder<ListClusterSnapshotsResponse.Builder,ListClusterSnapshotsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListClusterSnapshotsResponse.Builder |
nextToken(String nextToken)
The response will provide a nextToken if there is more data beyond the maxResults.
|
ListClusterSnapshotsResponse.Builder |
snapshots(ClusterSnapshotInList... snapshots)
A list of Elastic DocumentDB snapshots for a specified cluster.
|
ListClusterSnapshotsResponse.Builder |
snapshots(Collection<ClusterSnapshotInList> snapshots)
A list of Elastic DocumentDB snapshots for a specified cluster.
|
ListClusterSnapshotsResponse.Builder |
snapshots(Consumer<ClusterSnapshotInList.Builder>... snapshots)
A list of Elastic DocumentDB snapshots for a specified cluster.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListClusterSnapshotsResponse.Builder nextToken(String nextToken)
The response will provide a nextToken if there is more data beyond the maxResults.
If there is no more data in the responce, the nextToken will not be returned.
nextToken - The response will provide a nextToken if there is more data beyond the maxResults.
If there is no more data in the responce, the nextToken will not be returned.
ListClusterSnapshotsResponse.Builder snapshots(Collection<ClusterSnapshotInList> snapshots)
A list of Elastic DocumentDB snapshots for a specified cluster.
snapshots - A list of Elastic DocumentDB snapshots for a specified cluster.ListClusterSnapshotsResponse.Builder snapshots(ClusterSnapshotInList... snapshots)
A list of Elastic DocumentDB snapshots for a specified cluster.
snapshots - A list of Elastic DocumentDB snapshots for a specified cluster.ListClusterSnapshotsResponse.Builder snapshots(Consumer<ClusterSnapshotInList.Builder>... snapshots)
A list of Elastic DocumentDB snapshots for a specified cluster.
This is a convenience method that creates an instance of theClusterSnapshotInList.Builder avoiding the need to
create one manually via
ClusterSnapshotInList.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #snapshots(List.
snapshots - a consumer that will call methods on
ClusterSnapshotInList.Builder#snapshots(java.util.Collection) Copyright © 2023. All rights reserved.