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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListClusterSnapshotsResponse.BuildernextToken(String nextToken)A pagination token provided by a previous request.ListClusterSnapshotsResponse.Buildersnapshots(Collection<ClusterSnapshotInList> snapshots)A list of snapshots for a specified elastic cluster.ListClusterSnapshotsResponse.Buildersnapshots(Consumer<ClusterSnapshotInList.Builder>... snapshots)A list of snapshots for a specified elastic cluster.ListClusterSnapshotsResponse.Buildersnapshots(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListClusterSnapshotsResponse.Builder nextToken(String 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
nextTokenwill 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
nextTokenwill not be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshots
ListClusterSnapshotsResponse.Builder snapshots(Collection<ClusterSnapshotInList> 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(ClusterSnapshotInList... 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.Builderavoiding the need to create one manually viaClusterSnapshotInList.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#snapshots(List.) - 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:
#snapshots(java.util.Collection)
-
-