Cloneable, ReadLimitInfo, ToCopyableBuilder<CreateUserPoolClientRequest.Builder,CreateUserPoolClientRequest>@Generated("software.amazon.awssdk:codegen") public class CreateUserPoolClientRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateUserPoolClientRequest.Builder,CreateUserPoolClientRequest>
Represents the request to create a user pool client.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
CreateUserPoolClientRequest.Builder |
NOOP| Modifier and Type | Method | Description |
|---|---|---|
List<String> |
allowedOAuthFlows() |
Set to
code to initiate a code grant flow, which provides an authorization code as the response. |
Boolean |
allowedOAuthFlowsUserPoolClient() |
Set to
True if the client is allowed to follow the OAuth protocol when interacting with Cognito user
pools. |
List<String> |
allowedOAuthScopes() |
A list of allowed
OAuth scopes. |
static CreateUserPoolClientRequest.Builder |
builder() |
|
List<String> |
callbackURLs() |
A list of allowed callback URLs for the identity providers.
|
String |
clientName() |
The client name for the user pool client you would like to create.
|
String |
defaultRedirectURI() |
The default redirect URI.
|
boolean |
equals(Object obj) |
|
List<String> |
explicitAuthFlows() |
The explicit authentication flows.
|
Boolean |
generateSecret() |
Boolean to specify whether you want to generate a secret for the user pool client being created.
|
int |
hashCode() |
|
List<String> |
logoutURLs() |
A list of allowed logout URLs for the identity providers.
|
List<String> |
readAttributes() |
The read attributes.
|
Integer |
refreshTokenValidity() |
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
|
static Class<? extends CreateUserPoolClientRequest.Builder> |
serializableBuilderClass() |
|
List<String> |
supportedIdentityProviders() |
A list of provider names for the identity providers that are supported on this client.
|
CreateUserPoolClientRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
userPoolId() |
The user pool ID for the user pool where you want to create a user pool client.
|
List<String> |
writeAttributes() |
The write attributes.
|
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeoutpublic String userPoolId()
The user pool ID for the user pool where you want to create a user pool client.
public String clientName()
The client name for the user pool client you would like to create.
public Boolean generateSecret()
Boolean to specify whether you want to generate a secret for the user pool client being created.
public Integer refreshTokenValidity()
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
public List<String> readAttributes()
The read attributes.
public List<String> writeAttributes()
The write attributes.
public List<String> explicitAuthFlows()
The explicit authentication flows.
ExplicitAuthFlowsTypepublic List<String> supportedIdentityProviders()
A list of provider names for the identity providers that are supported on this client.
public List<String> callbackURLs()
A list of allowed callback URLs for the identity providers.
public List<String> logoutURLs()
A list of allowed logout URLs for the identity providers.
public String defaultRedirectURI()
The default redirect URI. Must be in the CallbackURLs list.
CallbackURLs list.public List<String> allowedOAuthFlows()
Set to code to initiate a code grant flow, which provides an authorization code as the response.
This code can be exchanged for access tokens with the token endpoint.
Set to token to specify that the client should get the access token (and, optionally, ID token,
based on scopes) directly.
code to initiate a code grant flow, which provides an authorization code as the
response. This code can be exchanged for access tokens with the token endpoint.
Set to token to specify that the client should get the access token (and, optionally, ID
token, based on scopes) directly.
OAuthFlowTypepublic List<String> allowedOAuthScopes()
A list of allowed OAuth scopes. Currently supported values are "phone",
"email", "openid", and "Cognito".
OAuth scopes. Currently supported values are "phone",
"email", "openid", and "Cognito".public Boolean allowedOAuthFlowsUserPoolClient()
Set to True if the client is allowed to follow the OAuth protocol when interacting with Cognito user
pools.
True if the client is allowed to follow the OAuth protocol when interacting with
Cognito user pools.public CreateUserPoolClientRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<CreateUserPoolClientRequest.Builder,CreateUserPoolClientRequest>public static CreateUserPoolClientRequest.Builder builder()
public static Class<? extends CreateUserPoolClientRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.