public static interface DescribeSubnetGroupsResponse.Builder extends DaxResponse.Builder, SdkPojo, CopyableBuilder<DescribeSubnetGroupsResponse.Builder,DescribeSubnetGroupsResponse>
Modifier and Type | Method and 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(Consumer<SubnetGroup.Builder>... subnetGroups)
An array of subnet groups.
|
DescribeSubnetGroupsResponse.Builder |
subnetGroups(SubnetGroup... subnetGroups)
An array of subnet groups.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, 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.
subnetGroups
- An array of subnet groups. Each element in the array represents a single subnet group.DescribeSubnetGroupsResponse.Builder subnetGroups(Consumer<SubnetGroup.Builder>... subnetGroups)
An array of subnet groups. Each element in the array represents a single subnet group.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #subnetGroups(List)
.subnetGroups
- a consumer that will call methods on List.Builder
#subnetGroups(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.