Interface AdminListGroupsForUserResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<AdminListGroupsForUserResponse.Builder,AdminListGroupsForUserResponse>,SdkBuilder<AdminListGroupsForUserResponse.Builder,AdminListGroupsForUserResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- AdminListGroupsForUserResponse
public static interface AdminListGroupsForUserResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<AdminListGroupsForUserResponse.Builder,AdminListGroupsForUserResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AdminListGroupsForUserResponse.Buildergroups(Collection<GroupType> groups)The groups that the user belongs to.AdminListGroupsForUserResponse.Buildergroups(Consumer<GroupType.Builder>... groups)The groups that the user belongs to.AdminListGroupsForUserResponse.Buildergroups(GroupType... groups)The groups that the user belongs to.AdminListGroupsForUserResponse.BuildernextToken(String nextToken)An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
groups
AdminListGroupsForUserResponse.Builder groups(Collection<GroupType> groups)
The groups that the user belongs to.
- Parameters:
groups- The groups that the user belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
AdminListGroupsForUserResponse.Builder groups(GroupType... groups)
The groups that the user belongs to.
- Parameters:
groups- The groups that the user belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groups
AdminListGroupsForUserResponse.Builder groups(Consumer<GroupType.Builder>... groups)
The groups that the user belongs to.
This is a convenience method that creates an instance of theGroupType.Builderavoiding the need to create one manually viaGroupType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#groups(List.) - 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:
#groups(java.util.Collection)
-
nextToken
AdminListGroupsForUserResponse.Builder nextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
- Parameters:
nextToken- An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-