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 ofRdsDbInstance
objects that describe the instances.rdsDbInstances
(Consumer<RdsDbInstance.Builder>... rdsDbInstances) An a array ofRdsDbInstance
objects that describe the instances.rdsDbInstances
(RdsDbInstance... rdsDbInstances) An a array ofRdsDbInstance
objects that describe the instances.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.opsworks.model.OpsWorksResponse.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 Details
-
rdsDbInstances
An a array of
RdsDbInstance
objects that describe the instances.- Parameters:
rdsDbInstances
- An a array ofRdsDbInstance
objects that describe the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rdsDbInstances
An a array of
RdsDbInstance
objects that describe the instances.- Parameters:
rdsDbInstances
- An a array ofRdsDbInstance
objects 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 theRdsDbInstance
objects that describe the instances.RdsDbInstance.Builder
avoiding the need to create one manually viaRdsDbInstance.builder()
.When the
Consumer
completes,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:
-