Class ListUsersInGroupRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<ListUsersInGroupRequest.Builder,ListUsersInGroupRequest>

@Generated("software.amazon.awssdk:codegen") public final class ListUsersInGroupRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<ListUsersInGroupRequest.Builder,ListUsersInGroupRequest>
  • Method Details

    • userPoolId

      public final String userPoolId()

      The ID of the user pool where you want to view the membership of the requested group.

      Returns:
      The ID of the user pool where you want to view the membership of the requested group.
    • groupName

      public final String groupName()

      The name of the group that you want to query for user membership.

      Returns:
      The name of the group that you want to query for user membership.
    • limit

      public final Integer limit()

      The maximum number of groups that you want Amazon Cognito to return in the response. In some SDK contexts, this operation might return fewer items than you specify in the Limit parameter without having reached the end of the full list. If the response contains a PaginationToken, then there are more results.

      Returns:
      The maximum number of groups that you want Amazon Cognito to return in the response. In some SDK contexts, this operation might return fewer items than you specify in the Limit parameter without having reached the end of the full list. If the response contains a PaginationToken, then there are more results.
    • nextToken

      public final String nextToken()

      This API operation returns a limited number of results. The pagination token is an identifier that you can present in an additional API request with the same parameters. When you include the pagination token, Amazon Cognito returns the next set of items after the current list. Subsequent requests return a new pagination token. By use of this token, you can paginate through the full list of items.

      Returns:
      This API operation returns a limited number of results. The pagination token is an identifier that you can present in an additional API request with the same parameters. When you include the pagination token, Amazon Cognito returns the next set of items after the current list. Subsequent requests return a new pagination token. By use of this token, you can paginate through the full list of items.
    • toBuilder

      public ListUsersInGroupRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<ListUsersInGroupRequest.Builder,ListUsersInGroupRequest>
      Specified by:
      toBuilder in class CognitoIdentityProviderRequest
    • builder

      public static ListUsersInGroupRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ListUsersInGroupRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo