Interface DescribeDbProxyTargetGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDbProxyTargetGroupsResponse.Builder,,DescribeDbProxyTargetGroupsResponse> RdsResponse.Builder,SdkBuilder<DescribeDbProxyTargetGroupsResponse.Builder,,DescribeDbProxyTargetGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDbProxyTargetGroupsResponse
@Mutable
@NotThreadSafe
public static interface DescribeDbProxyTargetGroupsResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDbProxyTargetGroupsResponse.Builder,DescribeDbProxyTargetGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionAn optional pagination token provided by a previous request.targetGroups(Collection<DBProxyTargetGroup> targetGroups) An arbitrary number ofDBProxyTargetGroupobjects, containing details of the corresponding target groups.targetGroups(Consumer<DBProxyTargetGroup.Builder>... targetGroups) An arbitrary number ofDBProxyTargetGroupobjects, containing details of the corresponding target groups.targetGroups(DBProxyTargetGroup... targetGroups) An arbitrary number ofDBProxyTargetGroupobjects, containing details of the corresponding target groups.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
-
targetGroups
DescribeDbProxyTargetGroupsResponse.Builder targetGroups(Collection<DBProxyTargetGroup> targetGroups) An arbitrary number of
DBProxyTargetGroupobjects, containing details of the corresponding target groups.- Parameters:
targetGroups- An arbitrary number ofDBProxyTargetGroupobjects, containing details of the corresponding target groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroups
An arbitrary number of
DBProxyTargetGroupobjects, containing details of the corresponding target groups.- Parameters:
targetGroups- An arbitrary number ofDBProxyTargetGroupobjects, containing details of the corresponding target groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetGroups
DescribeDbProxyTargetGroupsResponse.Builder targetGroups(Consumer<DBProxyTargetGroup.Builder>... targetGroups) An arbitrary number of
This is a convenience method that creates an instance of theDBProxyTargetGroupobjects, containing details of the corresponding target groups.DBProxyTargetGroup.Builderavoiding the need to create one manually viaDBProxyTargetGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetGroups(List<DBProxyTargetGroup>).- Parameters:
targetGroups- a consumer that will call methods onDBProxyTargetGroup.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.
-