Interface AdminListUserSessionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CognitoIdentityProviderRequest.Builder,CopyableBuilder<AdminListUserSessionsRequest.Builder,,AdminListUserSessionsRequest> SdkBuilder<AdminListUserSessionsRequest.Builder,,AdminListUserSessionsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AdminListUserSessionsRequest
@Mutable
@NotThreadSafe
public static interface AdminListUserSessionsRequest.Builder
extends CognitoIdentityProviderRequest.Builder, SdkPojo, CopyableBuilder<AdminListUserSessionsRequest.Builder,AdminListUserSessionsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token that Amazon Cognito returned in a previous response.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The username of the user whose sessions you want to list.userPoolId(String userPoolId) The ID of the user pool that contains the user.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderRequest.Builder
buildMethods 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, sdkFields
-
Method Details
-
userPoolId
The ID of the user pool that contains the user.
- Parameters:
userPoolId- The ID of the user pool that contains the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
username
The username of the user whose sessions you want to list.
- Parameters:
username- The username of the user whose sessions you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A pagination token that Amazon Cognito returned in a previous response. Use this value to retrieve the next page of results if a
NextTokenwas included in a prior response.- Parameters:
nextToken- A pagination token that Amazon Cognito returned in a previous response. Use this value to retrieve the next page of results if aNextTokenwas included in a prior response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AdminListUserSessionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AdminListUserSessionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-