Interface DescribeDbSubnetGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDbSubnetGroupsResponse.Builder,,DescribeDbSubnetGroupsResponse> NeptuneResponse.Builder,SdkBuilder<DescribeDbSubnetGroupsResponse.Builder,,DescribeDbSubnetGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDbSubnetGroupsResponse
@Mutable
@NotThreadSafe
public static interface DescribeDbSubnetGroupsResponse.Builder
extends NeptuneResponse.Builder, SdkPojo, CopyableBuilder<DescribeDbSubnetGroupsResponse.Builder,DescribeDbSubnetGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbSubnetGroups(Collection<DBSubnetGroup> dbSubnetGroups) A list of DBSubnetGroup instances.dbSubnetGroups(Consumer<DBSubnetGroup.Builder>... dbSubnetGroups) A list of DBSubnetGroup instances.dbSubnetGroups(DBSubnetGroup... dbSubnetGroups) A list of DBSubnetGroup instances.An optional pagination token provided by a previous request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.neptune.model.NeptuneResponse.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
-
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 of DBSubnetGroup 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 of DBSubnetGroup 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 DBSubnetGroup instances.
This is a convenience method that creates an instance of theDBSubnetGroup.Builderavoiding the need to create one manually viaDBSubnetGroup.builder().When the
Consumercompletes,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:
-