Interface DescribeClusterSnapshotsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeClusterSnapshotsResponse.Builder,DescribeClusterSnapshotsResponse>,RedshiftResponse.Builder,SdkBuilder<DescribeClusterSnapshotsResponse.Builder,DescribeClusterSnapshotsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeClusterSnapshotsResponse
public static interface DescribeClusterSnapshotsResponse.Builder extends RedshiftResponse.Builder, SdkPojo, CopyableBuilder<DescribeClusterSnapshotsResponse.Builder,DescribeClusterSnapshotsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeClusterSnapshotsResponse.Buildermarker(String marker)A value that indicates the starting point for the next set of response records in a subsequent request.DescribeClusterSnapshotsResponse.Buildersnapshots(Collection<Snapshot> snapshots)A list of Snapshot instances.DescribeClusterSnapshotsResponse.Buildersnapshots(Consumer<Snapshot.Builder>... snapshots)A list of Snapshot instances.DescribeClusterSnapshotsResponse.Buildersnapshots(Snapshot... snapshots)A list of Snapshot instances.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftResponse.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 Detail
-
marker
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
Markerparameter and retrying the command. If theMarkerfield is empty, all response records have been retrieved for the request.- Parameters:
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 theMarkerparameter and retrying the command. If theMarkerfield is empty, all response records have been retrieved for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshots
DescribeClusterSnapshotsResponse.Builder snapshots(Collection<Snapshot> snapshots)
A list of Snapshot instances.
- Parameters:
snapshots- A list of Snapshot instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshots
DescribeClusterSnapshotsResponse.Builder snapshots(Snapshot... snapshots)
A list of Snapshot instances.
- Parameters:
snapshots- A list of Snapshot instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshots
DescribeClusterSnapshotsResponse.Builder snapshots(Consumer<Snapshot.Builder>... snapshots)
A list of Snapshot instances.
This is a convenience method that creates an instance of theSnapshot.Builderavoiding the need to create one manually viaSnapshot.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 onSnapshot.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#snapshots(java.util.Collection)
-
-