Interface DescribeRdsDbInstancesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeRdsDbInstancesResponse.Builder,,DescribeRdsDbInstancesResponse> OpsWorksResponse.Builder,SdkBuilder<DescribeRdsDbInstancesResponse.Builder,,DescribeRdsDbInstancesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeRdsDbInstancesResponse
public static interface DescribeRdsDbInstancesResponse.Builder
extends OpsWorksResponse.Builder, SdkPojo, CopyableBuilder<DescribeRdsDbInstancesResponse.Builder,DescribeRdsDbInstancesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionrdsDbInstances(Collection<RdsDbInstance> rdsDbInstances) An a array ofRdsDbInstanceobjects that describe the instances.rdsDbInstances(Consumer<RdsDbInstance.Builder>... rdsDbInstances) An a array ofRdsDbInstanceobjects that describe the instances.rdsDbInstances(RdsDbInstance... rdsDbInstances) An a array ofRdsDbInstanceobjects that describe the instances.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
rdsDbInstances
An a array of
RdsDbInstanceobjects that describe the instances.- Parameters:
rdsDbInstances- An a array ofRdsDbInstanceobjects that describe the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rdsDbInstances
An a array of
RdsDbInstanceobjects that describe the instances.- Parameters:
rdsDbInstances- An a array ofRdsDbInstanceobjects that describe the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rdsDbInstances
DescribeRdsDbInstancesResponse.Builder rdsDbInstances(Consumer<RdsDbInstance.Builder>... rdsDbInstances) An a array of
This is a convenience method that creates an instance of theRdsDbInstanceobjects that describe the instances.RdsDbInstance.Builderavoiding the need to create one manually viaRdsDbInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tordsDbInstances(List<RdsDbInstance>).- Parameters:
rdsDbInstances- a consumer that will call methods onRdsDbInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-