Interface DescribeDbInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDbInstancesResponse.Builder,,DescribeDbInstancesResponse> RdsResponse.Builder,SdkBuilder<DescribeDbInstancesResponse.Builder,,DescribeDbInstancesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDbInstancesResponse
@Mutable
@NotThreadSafe
public static interface DescribeDbInstancesResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDbInstancesResponse.Builder,DescribeDbInstancesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbInstances(Collection<DBInstance> dbInstances) A list ofDBInstanceinstances.dbInstances(Consumer<DBInstance.Builder>... dbInstances) A list ofDBInstanceinstances.dbInstances(DBInstance... dbInstances) A list ofDBInstanceinstances.An optional pagination token provided by a previous request.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 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
A list of
DBInstanceinstances.- Parameters:
dbInstances- A list ofDBInstanceinstances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstances
A list of
DBInstanceinstances.- Parameters:
dbInstances- A list ofDBInstanceinstances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstances
A list of
This is a convenience method that creates an instance of theDBInstanceinstances.DBInstance.Builderavoiding the need to create one manually viaDBInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbInstances(List<DBInstance>).- 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:
-