Interface DescribeDbSubnetGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDbSubnetGroupsResponse.Builder,
,DescribeDbSubnetGroupsResponse> DocDbResponse.Builder
,SdkBuilder<DescribeDbSubnetGroupsResponse.Builder,
,DescribeDbSubnetGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDbSubnetGroupsResponse
public static interface DescribeDbSubnetGroupsResponse.Builder
extends DocDbResponse.Builder, SdkPojo, CopyableBuilder<DescribeDbSubnetGroupsResponse.Builder,DescribeDbSubnetGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbSubnetGroups
(Collection<DBSubnetGroup> dbSubnetGroups) Detailed information about one or more subnet groups.dbSubnetGroups
(Consumer<DBSubnetGroup.Builder>... dbSubnetGroups) Detailed information about one or more subnet groups.dbSubnetGroups
(DBSubnetGroup... dbSubnetGroups) Detailed information about one or more subnet groups.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.docdb.model.DocDbResponse.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
Detailed information about one or more subnet groups.
- Parameters:
dbSubnetGroups
- Detailed information about one or more subnet groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSubnetGroups
Detailed information about one or more subnet groups.
- Parameters:
dbSubnetGroups
- Detailed information about one or more subnet groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSubnetGroups
DescribeDbSubnetGroupsResponse.Builder dbSubnetGroups(Consumer<DBSubnetGroup.Builder>... dbSubnetGroups) Detailed information about one or more subnet groups.
This is a convenience method that creates an instance of theDBSubnetGroup.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:
-