Interface DescribeDbClusterSnapshotsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDbClusterSnapshotsResponse.Builder,,DescribeDbClusterSnapshotsResponse> RdsResponse.Builder,SdkBuilder<DescribeDbClusterSnapshotsResponse.Builder,,DescribeDbClusterSnapshotsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDbClusterSnapshotsResponse
@Mutable
@NotThreadSafe
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 previousDescribeDBClusterSnapshotsrequest.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
marker
An optional pagination token provided by a previous
DescribeDBClusterSnapshotsrequest. 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 previousDescribeDBClusterSnapshotsrequest. 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.Builderavoiding the need to create one manually viaDBClusterSnapshot.builder().When the
Consumercompletes,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:
-