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.BuilderdbSnapshots(Collection<DBSnapshot> dbSnapshots)A list ofDBSnapshotinstances.DescribeDbSnapshotsResponse.BuilderdbSnapshots(Consumer<DBSnapshot.Builder>... dbSnapshots)A list ofDBSnapshotinstances.DescribeDbSnapshotsResponse.BuilderdbSnapshots(DBSnapshot... dbSnapshots)A list ofDBSnapshotinstances.DescribeDbSnapshotsResponse.Buildermarker(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, sdkFieldNameToField, 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
DBSnapshotinstances.- Parameters:
dbSnapshots- A list ofDBSnapshotinstances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSnapshots
DescribeDbSnapshotsResponse.Builder dbSnapshots(DBSnapshot... dbSnapshots)
A list of
DBSnapshotinstances.- Parameters:
dbSnapshots- A list ofDBSnapshotinstances.- 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 theDBSnapshotinstances.DBSnapshot.Builderavoiding the need to create one manually viaDBSnapshot.builder().When the
Consumercompletes,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)
-
-