Interface ListClusterSnapshotsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListClusterSnapshotsResponse.Builder,
,ListClusterSnapshotsResponse> DocDbElasticResponse.Builder
,SdkBuilder<ListClusterSnapshotsResponse.Builder,
,ListClusterSnapshotsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListClusterSnapshotsResponse
public static interface ListClusterSnapshotsResponse.Builder
extends DocDbElasticResponse.Builder, SdkPojo, CopyableBuilder<ListClusterSnapshotsResponse.Builder,ListClusterSnapshotsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe response will provide a nextToken if there is more data beyond the maxResults.snapshots
(Collection<ClusterSnapshotInList> snapshots) A list of Elastic DocumentDB snapshots for a specified cluster.snapshots
(Consumer<ClusterSnapshotInList.Builder>... snapshots) A list of Elastic DocumentDB snapshots for a specified cluster.snapshots
(ClusterSnapshotInList... snapshots) A list of Elastic DocumentDB snapshots for a specified cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.docdbelastic.model.DocDbElasticResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshots
A list of Elastic DocumentDB snapshots for a specified cluster.
- Parameters:
snapshots
- A list of Elastic DocumentDB snapshots for a specified cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshots
A list of Elastic DocumentDB snapshots for a specified cluster.
- Parameters:
snapshots
- A list of Elastic DocumentDB snapshots for a specified cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshots
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 viaClusterSnapshotInList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnapshots(List<ClusterSnapshotInList>)
.- Parameters:
snapshots
- a consumer that will call methods onClusterSnapshotInList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-