public static interface DescribeSecurityGroupsResponse.Builder extends Ec2Response.Builder, CopyableBuilder<DescribeSecurityGroupsResponse.Builder,DescribeSecurityGroupsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeSecurityGroupsResponse.Builder |
nextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeSecurityGroupsResponse.Builder |
securityGroups(Collection<SecurityGroup> securityGroups)
Information about one or more security groups.
|
DescribeSecurityGroupsResponse.Builder |
securityGroups(Consumer<SecurityGroup.Builder>... securityGroups)
Information about one or more security groups.
|
DescribeSecurityGroupsResponse.Builder |
securityGroups(SecurityGroup... securityGroups)
Information about one or more security groups.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeSecurityGroupsResponse.Builder securityGroups(Collection<SecurityGroup> securityGroups)
Information about one or more security groups.
securityGroups
- Information about one or more security groups.DescribeSecurityGroupsResponse.Builder securityGroups(SecurityGroup... securityGroups)
Information about one or more security groups.
securityGroups
- Information about one or more security groups.DescribeSecurityGroupsResponse.Builder securityGroups(Consumer<SecurityGroup.Builder>... securityGroups)
Information about one or more security groups.
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 #securityGroups(List)
.securityGroups
- a consumer that will call methods on List.Builder
#securityGroups(List)
DescribeSecurityGroupsResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are
no more results to return.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.