Interface ListSecurityGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSecurityGroupsResponse.Builder,,ListSecurityGroupsResponse> SdkBuilder<ListSecurityGroupsResponse.Builder,,ListSecurityGroupsResponse> SdkPojo,SdkResponse.Builder,WickrResponse.Builder
- Enclosing class:
ListSecurityGroupsResponse
@Mutable
@NotThreadSafe
public static interface ListSecurityGroupsResponse.Builder
extends WickrResponse.Builder, SdkPojo, CopyableBuilder<ListSecurityGroupsResponse.Builder,ListSecurityGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use for retrieving the next page of results.securityGroups(Collection<SecurityGroup> securityGroups) A list of security group objects in the current page.securityGroups(Consumer<SecurityGroup.Builder>... securityGroups) A list of security group objects in the current page.securityGroups(SecurityGroup... securityGroups) A list of security group objects in the current page.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.wickr.model.WickrResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
securityGroups
A list of security group objects in the current page.
- Parameters:
securityGroups- A list of security group objects in the current page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
A list of security group objects in the current page.
- Parameters:
securityGroups- A list of security group objects in the current page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroups
ListSecurityGroupsResponse.Builder securityGroups(Consumer<SecurityGroup.Builder>... securityGroups) A list of security group objects in the current page.
This is a convenience method that creates an instance of theSecurityGroup.Builderavoiding the need to create one manually viaSecurityGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosecurityGroups(List<SecurityGroup>).- Parameters:
securityGroups- a consumer that will call methods onSecurityGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use for retrieving the next page of results. If this is not present, there are no more results.
- Parameters:
nextToken- The token to use for retrieving the next page of results. If this is not present, there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-