CopyableBuilder<DescribeSubnetGroupsResponse.Builder,DescribeSubnetGroupsResponse>
, SdkBuilder<DescribeSubnetGroupsResponse.Builder,DescribeSubnetGroupsResponse>
public static interface DescribeSubnetGroupsResponse.Builder extends CopyableBuilder<DescribeSubnetGroupsResponse.Builder,DescribeSubnetGroupsResponse>
Modifier and Type | Method | Description |
---|---|---|
DescribeSubnetGroupsResponse.Builder |
nextToken(String nextToken) |
Provides an identifier to allow retrieval of paginated results.
|
DescribeSubnetGroupsResponse.Builder |
subnetGroups(Collection<SubnetGroup> subnetGroups) |
An array of subnet groups.
|
DescribeSubnetGroupsResponse.Builder |
subnetGroups(SubnetGroup... subnetGroups) |
An array of subnet groups.
|
copy
apply, build
DescribeSubnetGroupsResponse.Builder nextToken(String nextToken)
Provides an identifier to allow retrieval of paginated results.
nextToken
- Provides an identifier to allow retrieval of paginated results.DescribeSubnetGroupsResponse.Builder subnetGroups(Collection<SubnetGroup> subnetGroups)
An array of subnet groups. Each element in the array represents a single subnet group.
subnetGroups
- An array of subnet groups. Each element in the array represents a single subnet group.DescribeSubnetGroupsResponse.Builder subnetGroups(SubnetGroup... subnetGroups)
An array of subnet groups. Each element in the array represents a single subnet group.
NOTE: This method appends the values to the existing list (if any). Use
#setSubnetGroups(java.util.Collection)
or #withSubnetGroups(java.util.Collection)
if you want
to override the existing values.
subnetGroups
- An array of subnet groups. Each element in the array represents a single subnet group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.