Interface DescribeDbProxyTargetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDbProxyTargetsResponse.Builder,
,DescribeDbProxyTargetsResponse> RdsResponse.Builder
,SdkBuilder<DescribeDbProxyTargetsResponse.Builder,
,DescribeDbProxyTargetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDbProxyTargetsResponse
public static interface DescribeDbProxyTargetsResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDbProxyTargetsResponse.Builder,DescribeDbProxyTargetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn optional pagination token provided by a previous request.targets
(Collection<DBProxyTarget> targets) An arbitrary number ofDBProxyTarget
objects, containing details of the corresponding targets.targets
(Consumer<DBProxyTarget.Builder>... targets) An arbitrary number ofDBProxyTarget
objects, containing details of the corresponding targets.targets
(DBProxyTarget... targets) An arbitrary number ofDBProxyTarget
objects, containing details of the corresponding targets.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 Details
-
targets
An arbitrary number of
DBProxyTarget
objects, containing details of the corresponding targets.- Parameters:
targets
- An arbitrary number ofDBProxyTarget
objects, containing details of the corresponding targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
An arbitrary number of
DBProxyTarget
objects, containing details of the corresponding targets.- Parameters:
targets
- An arbitrary number ofDBProxyTarget
objects, containing details of the corresponding targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
An arbitrary number of
This is a convenience method that creates an instance of theDBProxyTarget
objects, containing details of the corresponding targets.DBProxyTarget.Builder
avoiding the need to create one manually viaDBProxyTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargets(List<DBProxyTarget>)
.- Parameters:
targets
- a consumer that will call methods onDBProxyTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-