Interface ListGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityProviderResponse.Builder
,CopyableBuilder<ListGroupsResponse.Builder,
,ListGroupsResponse> SdkBuilder<ListGroupsResponse.Builder,
,ListGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListGroupsResponse
-
Method Summary
Modifier and TypeMethodDescriptiongroups
(Collection<GroupType> groups) An array of groups and their details.groups
(Consumer<GroupType.Builder>... groups) An array of groups and their details.An array of groups and their details.The identifier that Amazon Cognito returned with the previous request to this operation.Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
groups
An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.
- Parameters:
groups
- An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.
- Parameters:
groups
- An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
An array of groups and their details. Each entry that's returned includes description, precedence, and IAM role values.
This is a convenience method that creates an instance of theGroupType.Builder
avoiding the need to create one manually viaGroupType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroups(List<GroupType>)
.- Parameters:
groups
- a consumer that will call methods onGroupType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.
- Parameters:
nextToken
- The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-