Interface DescribeDbInstancesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDbInstancesResponse.Builder,DescribeDbInstancesResponse>
,RdsResponse.Builder
,SdkBuilder<DescribeDbInstancesResponse.Builder,DescribeDbInstancesResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeDbInstancesResponse
public static interface DescribeDbInstancesResponse.Builder extends RdsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDbInstancesResponse.Builder,DescribeDbInstancesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeDbInstancesResponse.Builder
dbInstances(Collection<DBInstance> dbInstances)
A list ofDBInstance
instances.DescribeDbInstancesResponse.Builder
dbInstances(Consumer<DBInstance.Builder>... dbInstances)
A list ofDBInstance
instances.DescribeDbInstancesResponse.Builder
dbInstances(DBInstance... dbInstances)
A list ofDBInstance
instances.DescribeDbInstancesResponse.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
DescribeDbInstancesResponse.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.
-
dbInstances
DescribeDbInstancesResponse.Builder dbInstances(Collection<DBInstance> dbInstances)
A list of
DBInstance
instances.- Parameters:
dbInstances
- A list ofDBInstance
instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstances
DescribeDbInstancesResponse.Builder dbInstances(DBInstance... dbInstances)
A list of
DBInstance
instances.- Parameters:
dbInstances
- A list ofDBInstance
instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstances
DescribeDbInstancesResponse.Builder dbInstances(Consumer<DBInstance.Builder>... dbInstances)
A list of
This is a convenience method that creates an instance of theDBInstance
instances.DBInstance.Builder
avoiding the need to create one manually viaDBInstance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#dbInstances(List
.) - Parameters:
dbInstances
- a consumer that will call methods onDBInstance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dbInstances(java.util.Collection
)
-
-