Interface DescribeDbSubnetGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDbSubnetGroupsResponse.Builder,
,DescribeDbSubnetGroupsResponse> RdsResponse.Builder
,SdkBuilder<DescribeDbSubnetGroupsResponse.Builder,
,DescribeDbSubnetGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDbSubnetGroupsResponse
public static interface DescribeDbSubnetGroupsResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<DescribeDbSubnetGroupsResponse.Builder,DescribeDbSubnetGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbSubnetGroups
(Collection<DBSubnetGroup> dbSubnetGroups) A list ofDBSubnetGroup
instances.dbSubnetGroups
(Consumer<DBSubnetGroup.Builder>... dbSubnetGroups) A list ofDBSubnetGroup
instances.dbSubnetGroups
(DBSubnetGroup... dbSubnetGroups) A list ofDBSubnetGroup
instances.An optional pagination token provided by a previous request.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
-
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.
-
dbSubnetGroups
A list of
DBSubnetGroup
instances.- Parameters:
dbSubnetGroups
- A list ofDBSubnetGroup
instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSubnetGroups
A list of
DBSubnetGroup
instances.- Parameters:
dbSubnetGroups
- A list ofDBSubnetGroup
instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSubnetGroups
DescribeDbSubnetGroupsResponse.Builder dbSubnetGroups(Consumer<DBSubnetGroup.Builder>... dbSubnetGroups) A list of
This is a convenience method that creates an instance of theDBSubnetGroup
instances.DBSubnetGroup.Builder
avoiding the need to create one manually viaDBSubnetGroup.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todbSubnetGroups(List<DBSubnetGroup>)
.- Parameters:
dbSubnetGroups
- a consumer that will call methods onDBSubnetGroup.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-