CopyableBuilder<CreateUserPoolClientRequest.Builder,CreateUserPoolClientRequest>
, SdkBuilder<CreateUserPoolClientRequest.Builder,CreateUserPoolClientRequest>
public static interface CreateUserPoolClientRequest.Builder extends CopyableBuilder<CreateUserPoolClientRequest.Builder,CreateUserPoolClientRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateUserPoolClientRequest.Builder |
allowedOAuthFlows(String... allowedOAuthFlows) |
Set to
code to initiate a code grant flow, which provides an authorization code as the response. |
CreateUserPoolClientRequest.Builder |
allowedOAuthFlows(Collection<String> allowedOAuthFlows) |
Set to
code to initiate a code grant flow, which provides an authorization code as the response. |
CreateUserPoolClientRequest.Builder |
allowedOAuthFlows(OAuthFlowType... allowedOAuthFlows) |
Set to
code to initiate a code grant flow, which provides an authorization code as the response. |
CreateUserPoolClientRequest.Builder |
allowedOAuthFlowsUserPoolClient(Boolean allowedOAuthFlowsUserPoolClient) |
Set to
True if the client is allowed to follow the OAuth protocol when interacting with Cognito
user pools. |
CreateUserPoolClientRequest.Builder |
allowedOAuthScopes(String... allowedOAuthScopes) |
A list of allowed
OAuth scopes. |
CreateUserPoolClientRequest.Builder |
allowedOAuthScopes(Collection<String> allowedOAuthScopes) |
A list of allowed
OAuth scopes. |
CreateUserPoolClientRequest.Builder |
callbackURLs(String... callbackURLs) |
A list of allowed callback URLs for the identity providers.
|
CreateUserPoolClientRequest.Builder |
callbackURLs(Collection<String> callbackURLs) |
A list of allowed callback URLs for the identity providers.
|
CreateUserPoolClientRequest.Builder |
clientName(String clientName) |
The client name for the user pool client you would like to create.
|
CreateUserPoolClientRequest.Builder |
defaultRedirectURI(String defaultRedirectURI) |
The default redirect URI.
|
CreateUserPoolClientRequest.Builder |
explicitAuthFlows(String... explicitAuthFlows) |
The explicit authentication flows.
|
CreateUserPoolClientRequest.Builder |
explicitAuthFlows(Collection<String> explicitAuthFlows) |
The explicit authentication flows.
|
CreateUserPoolClientRequest.Builder |
explicitAuthFlows(ExplicitAuthFlowsType... explicitAuthFlows) |
The explicit authentication flows.
|
CreateUserPoolClientRequest.Builder |
generateSecret(Boolean generateSecret) |
Boolean to specify whether you want to generate a secret for the user pool client being created.
|
CreateUserPoolClientRequest.Builder |
logoutURLs(String... logoutURLs) |
A list of allowed logout URLs for the identity providers.
|
CreateUserPoolClientRequest.Builder |
logoutURLs(Collection<String> logoutURLs) |
A list of allowed logout URLs for the identity providers.
|
CreateUserPoolClientRequest.Builder |
readAttributes(String... readAttributes) |
The read attributes.
|
CreateUserPoolClientRequest.Builder |
readAttributes(Collection<String> readAttributes) |
The read attributes.
|
CreateUserPoolClientRequest.Builder |
refreshTokenValidity(Integer refreshTokenValidity) |
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
|
CreateUserPoolClientRequest.Builder |
supportedIdentityProviders(String... supportedIdentityProviders) |
A list of provider names for the identity providers that are supported on this client.
|
CreateUserPoolClientRequest.Builder |
supportedIdentityProviders(Collection<String> supportedIdentityProviders) |
A list of provider names for the identity providers that are supported on this client.
|
CreateUserPoolClientRequest.Builder |
userPoolId(String userPoolId) |
The user pool ID for the user pool where you want to create a user pool client.
|
CreateUserPoolClientRequest.Builder |
writeAttributes(String... writeAttributes) |
The write attributes.
|
CreateUserPoolClientRequest.Builder |
writeAttributes(Collection<String> writeAttributes) |
The write attributes.
|
copy
apply, build
CreateUserPoolClientRequest.Builder userPoolId(String userPoolId)
The user pool ID for the user pool where you want to create a user pool client.
userPoolId
- The user pool ID for the user pool where you want to create a user pool client.CreateUserPoolClientRequest.Builder clientName(String clientName)
The client name for the user pool client you would like to create.
clientName
- The client name for the user pool client you would like to create.CreateUserPoolClientRequest.Builder generateSecret(Boolean generateSecret)
Boolean to specify whether you want to generate a secret for the user pool client being created.
generateSecret
- Boolean to specify whether you want to generate a secret for the user pool client being created.CreateUserPoolClientRequest.Builder refreshTokenValidity(Integer refreshTokenValidity)
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
refreshTokenValidity
- The time limit, in days, after which the refresh token is no longer valid and cannot be used.CreateUserPoolClientRequest.Builder readAttributes(Collection<String> readAttributes)
The read attributes.
readAttributes
- The read attributes.CreateUserPoolClientRequest.Builder readAttributes(String... readAttributes)
The read attributes.
NOTE: This method appends the values to the existing list (if any). Use
#setReadAttributes(java.util.Collection)
or #withReadAttributes(java.util.Collection)
if you
want to override the existing values.
readAttributes
- The read attributes.CreateUserPoolClientRequest.Builder writeAttributes(Collection<String> writeAttributes)
The write attributes.
writeAttributes
- The write attributes.CreateUserPoolClientRequest.Builder writeAttributes(String... writeAttributes)
The write attributes.
NOTE: This method appends the values to the existing list (if any). Use
#setWriteAttributes(java.util.Collection)
or #withWriteAttributes(java.util.Collection)
if
you want to override the existing values.
writeAttributes
- The write attributes.CreateUserPoolClientRequest.Builder explicitAuthFlows(Collection<String> explicitAuthFlows)
The explicit authentication flows.
explicitAuthFlows
- The explicit authentication flows.ExplicitAuthFlowsType
CreateUserPoolClientRequest.Builder explicitAuthFlows(String... explicitAuthFlows)
The explicit authentication flows.
NOTE: This method appends the values to the existing list (if any). Use
#setExplicitAuthFlows(java.util.Collection)
or #withExplicitAuthFlows(java.util.Collection)
if you want to override the existing values.
explicitAuthFlows
- The explicit authentication flows.ExplicitAuthFlowsType
CreateUserPoolClientRequest.Builder explicitAuthFlows(ExplicitAuthFlowsType... explicitAuthFlows)
The explicit authentication flows.
NOTE: This method appends the values to the existing list (if any). Use
#setExplicitAuthFlows(java.util.Collection)
or #withExplicitAuthFlows(java.util.Collection)
if you want to override the existing values.
explicitAuthFlows
- The explicit authentication flows.ExplicitAuthFlowsType
CreateUserPoolClientRequest.Builder supportedIdentityProviders(Collection<String> supportedIdentityProviders)
A list of provider names for the identity providers that are supported on this client.
supportedIdentityProviders
- A list of provider names for the identity providers that are supported on this client.CreateUserPoolClientRequest.Builder supportedIdentityProviders(String... supportedIdentityProviders)
A list of provider names for the identity providers that are supported on this client.
NOTE: This method appends the values to the existing list (if any). Use
#setSupportedIdentityProviders(java.util.Collection)
or
#withSupportedIdentityProviders(java.util.Collection)
if you want to override the existing values.
supportedIdentityProviders
- A list of provider names for the identity providers that are supported on this client.CreateUserPoolClientRequest.Builder callbackURLs(Collection<String> callbackURLs)
A list of allowed callback URLs for the identity providers.
callbackURLs
- A list of allowed callback URLs for the identity providers.CreateUserPoolClientRequest.Builder callbackURLs(String... callbackURLs)
A list of allowed callback URLs for the identity providers.
NOTE: This method appends the values to the existing list (if any). Use
#setCallbackURLs(java.util.Collection)
or #withCallbackURLs(java.util.Collection)
if you want
to override the existing values.
callbackURLs
- A list of allowed callback URLs for the identity providers.CreateUserPoolClientRequest.Builder logoutURLs(Collection<String> logoutURLs)
A list of allowed logout URLs for the identity providers.
logoutURLs
- A list of allowed logout URLs for the identity providers.CreateUserPoolClientRequest.Builder logoutURLs(String... logoutURLs)
A list of allowed logout URLs for the identity providers.
NOTE: This method appends the values to the existing list (if any). Use
#setLogoutURLs(java.util.Collection)
or #withLogoutURLs(java.util.Collection)
if you want to
override the existing values.
logoutURLs
- A list of allowed logout URLs for the identity providers.CreateUserPoolClientRequest.Builder defaultRedirectURI(String defaultRedirectURI)
The default redirect URI. Must be in the CallbackURLs
list.
defaultRedirectURI
- The default redirect URI. Must be in the CallbackURLs
list.CreateUserPoolClientRequest.Builder allowedOAuthFlows(Collection<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.
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.
OAuthFlowType
CreateUserPoolClientRequest.Builder allowedOAuthFlows(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.
NOTE: This method appends the values to the existing list (if any). Use
#setAllowedOAuthFlows(java.util.Collection)
or #withAllowedOAuthFlows(java.util.Collection)
if you want to override the existing values.
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.
OAuthFlowType
CreateUserPoolClientRequest.Builder allowedOAuthFlows(OAuthFlowType... 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.
NOTE: This method appends the values to the existing list (if any). Use
#setAllowedOAuthFlows(java.util.Collection)
or #withAllowedOAuthFlows(java.util.Collection)
if you want to override the existing values.
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.
OAuthFlowType
CreateUserPoolClientRequest.Builder allowedOAuthScopes(Collection<String> allowedOAuthScopes)
A list of allowed OAuth
scopes. Currently supported values are "phone"
,
"email"
, "openid"
, and "Cognito"
.
allowedOAuthScopes
- A list of allowed OAuth
scopes. Currently supported values are "phone"
,
"email"
, "openid"
, and "Cognito"
.CreateUserPoolClientRequest.Builder allowedOAuthScopes(String... allowedOAuthScopes)
A list of allowed OAuth
scopes. Currently supported values are "phone"
,
"email"
, "openid"
, and "Cognito"
.
NOTE: This method appends the values to the existing list (if any). Use
#setAllowedOAuthScopes(java.util.Collection)
or #withAllowedOAuthScopes(java.util.Collection)
if you want to override the existing values.
allowedOAuthScopes
- A list of allowed OAuth
scopes. Currently supported values are "phone"
,
"email"
, "openid"
, and "Cognito"
.CreateUserPoolClientRequest.Builder allowedOAuthFlowsUserPoolClient(Boolean allowedOAuthFlowsUserPoolClient)
Set to True
if the client is allowed to follow the OAuth protocol when interacting with Cognito
user pools.
allowedOAuthFlowsUserPoolClient
- Set to True
if the client is allowed to follow the OAuth protocol when interacting with
Cognito user pools.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.