Interface DescribeSubnetGroupsResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSubnetGroupsResponse.Builder,,DescribeSubnetGroupsResponse> DaxResponse.Builder,SdkBuilder<DescribeSubnetGroupsResponse.Builder,,DescribeSubnetGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 DescribeSubnetGroupsResponse
public static interface DescribeSubnetGroupsResponse.Builder
extends DaxResponse.Builder, SdkPojo, CopyableBuilder<DescribeSubnetGroupsResponse.Builder,DescribeSubnetGroupsResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionProvides an identifier to allow retrieval of paginated results.subnetGroups(Collection<SubnetGroup> subnetGroups) An array of subnet groups.subnetGroups(Consumer<SubnetGroup.Builder>... subnetGroups) An array of subnet groups.subnetGroups(SubnetGroup... subnetGroups) An array of subnet groups.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.dax.model.DaxResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
nextToken
Provides an identifier to allow retrieval of paginated results.
- Parameters:
 nextToken- Provides an identifier to allow retrieval of paginated results.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
subnetGroups
An array of subnet groups. Each element in the array represents a single subnet group.
- Parameters:
 subnetGroups- An array of subnet groups. Each element in the array represents a single subnet group.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
subnetGroups
An array of subnet groups. Each element in the array represents a single subnet group.
- Parameters:
 subnetGroups- An array of subnet groups. Each element in the array represents a single subnet group.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
subnetGroups
An array of subnet groups. Each element in the array represents a single subnet group.
This is a convenience method that creates an instance of theSubnetGroup.Builderavoiding the need to create one manually viaSubnetGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubnetGroups(List<SubnetGroup>).- Parameters:
 subnetGroups- a consumer that will call methods onSubnetGroup.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -