Interface DescribeDbSnapshotsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDbSnapshotsResponse.Builder,
,DescribeDbSnapshotsResponse> RdsResponse.Builder
,SdkBuilder<DescribeDbSnapshotsResponse.Builder,
,DescribeDbSnapshotsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDbSnapshotsResponse
public static interface DescribeDbSnapshotsResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDbSnapshotsResponse.Builder,DescribeDbSnapshotsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbSnapshots
(Collection<DBSnapshot> dbSnapshots) A list ofDBSnapshot
instances.dbSnapshots
(Consumer<DBSnapshot.Builder>... dbSnapshots) A list ofDBSnapshot
instances.dbSnapshots
(DBSnapshot... dbSnapshots) A list ofDBSnapshot
instances.An optional pagination token provided by a previous 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 request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords
.- Parameters:
marker
- An optional pagination token provided by a previous 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.
-
dbSnapshots
A list of
DBSnapshot
instances.- Parameters:
dbSnapshots
- A list ofDBSnapshot
instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSnapshots
A list of
DBSnapshot
instances.- Parameters:
dbSnapshots
- A list ofDBSnapshot
instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSnapshots
A list of
This is a convenience method that creates an instance of theDBSnapshot
instances.DBSnapshot.Builder
avoiding the need to create one manually viaDBSnapshot.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbSnapshots(List<DBSnapshot>)
.- Parameters:
dbSnapshots
- a consumer that will call methods onDBSnapshot.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-