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 TypeMethodDescriptionA pagination token provided by a previous request.snapshots
(Collection<ClusterSnapshotInList> snapshots) A list of snapshots for a specified elastic cluster.snapshots
(Consumer<ClusterSnapshotInList.Builder>... snapshots) A list of snapshots for a specified elastic cluster.snapshots
(ClusterSnapshotInList... snapshots) A list of snapshots for a specified elastic 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
A pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond this token, up to the value specified by
max-results
.If there is no more data in the responce, the
nextToken
will not be returned.- Parameters:
nextToken
- A pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond this token, up to the value specified bymax-results
.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 snapshots for a specified elastic cluster.
- Parameters:
snapshots
- A list of snapshots for a specified elastic cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshots
A list of snapshots for a specified elastic cluster.
- Parameters:
snapshots
- A list of snapshots for a specified elastic 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 snapshots for a specified elastic 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:
-