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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeDbSnapshotsResponse.Builder
dbSnapshots(Collection<DBSnapshot> dbSnapshots)
A list ofDBSnapshot
instances.DescribeDbSnapshotsResponse.Builder
dbSnapshots(Consumer<DBSnapshot.Builder>... dbSnapshots)
A list ofDBSnapshot
instances.DescribeDbSnapshotsResponse.Builder
dbSnapshots(DBSnapshot... dbSnapshots)
A list ofDBSnapshot
instances.DescribeDbSnapshotsResponse.Builder
marker(String marker)
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 Detail
-
marker
DescribeDbSnapshotsResponse.Builder marker(String 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
DescribeDbSnapshotsResponse.Builder dbSnapshots(Collection<DBSnapshot> 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
DescribeDbSnapshotsResponse.Builder dbSnapshots(DBSnapshot... 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
DescribeDbSnapshotsResponse.Builder dbSnapshots(Consumer<DBSnapshot.Builder>... 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 to#dbSnapshots(List
.) - 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:
#dbSnapshots(java.util.Collection
)
-
-