Interface DescribeDbClusterSnapshotsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDbClusterSnapshotsResponse.Builder,
,DescribeDbClusterSnapshotsResponse> RdsResponse.Builder
,SdkBuilder<DescribeDbClusterSnapshotsResponse.Builder,
,DescribeDbClusterSnapshotsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDbClusterSnapshotsResponse
public static interface DescribeDbClusterSnapshotsResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDbClusterSnapshotsResponse.Builder,DescribeDbClusterSnapshotsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbClusterSnapshots
(Collection<DBClusterSnapshot> dbClusterSnapshots) Provides a list of DB cluster snapshots for the user.dbClusterSnapshots
(Consumer<DBClusterSnapshot.Builder>... dbClusterSnapshots) Provides a list of DB cluster snapshots for the user.dbClusterSnapshots
(DBClusterSnapshot... dbClusterSnapshots) Provides a list of DB cluster snapshots for the user.An optional pagination token provided by a previousDescribeDBClusterSnapshots
request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.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
-
marker
An optional pagination token provided by a previous
DescribeDBClusterSnapshots
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.- Parameters:
marker
- An optional pagination token provided by a previousDescribeDBClusterSnapshots
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterSnapshots
DescribeDbClusterSnapshotsResponse.Builder dbClusterSnapshots(Collection<DBClusterSnapshot> dbClusterSnapshots) Provides a list of DB cluster snapshots for the user.
- Parameters:
dbClusterSnapshots
- Provides a list of DB cluster snapshots for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterSnapshots
DescribeDbClusterSnapshotsResponse.Builder dbClusterSnapshots(DBClusterSnapshot... dbClusterSnapshots) Provides a list of DB cluster snapshots for the user.
- Parameters:
dbClusterSnapshots
- Provides a list of DB cluster snapshots for the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterSnapshots
DescribeDbClusterSnapshotsResponse.Builder dbClusterSnapshots(Consumer<DBClusterSnapshot.Builder>... dbClusterSnapshots) Provides a list of DB cluster snapshots for the user.
This is a convenience method that creates an instance of theDBClusterSnapshot.Builder
avoiding the need to create one manually viaDBClusterSnapshot.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbClusterSnapshots(List<DBClusterSnapshot>)
.- Parameters:
dbClusterSnapshots
- a consumer that will call methods onDBClusterSnapshot.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-