CopyableBuilder<UpdateUserPoolClientRequest.Builder,UpdateUserPoolClientRequest>
, SdkBuilder<UpdateUserPoolClientRequest.Builder,UpdateUserPoolClientRequest>
public static interface UpdateUserPoolClientRequest.Builder extends CopyableBuilder<UpdateUserPoolClientRequest.Builder,UpdateUserPoolClientRequest>
Modifier and Type | Method | Description |
---|---|---|
UpdateUserPoolClientRequest.Builder |
allowedOAuthFlows(String... allowedOAuthFlows) |
Set to
code to initiate a code grant flow, which provides an authorization code as the response. |
UpdateUserPoolClientRequest.Builder |
allowedOAuthFlows(Collection<String> allowedOAuthFlows) |
Set to
code to initiate a code grant flow, which provides an authorization code as the response. |
UpdateUserPoolClientRequest.Builder |
allowedOAuthFlows(OAuthFlowType... allowedOAuthFlows) |
Set to
code to initiate a code grant flow, which provides an authorization code as the response. |
UpdateUserPoolClientRequest.Builder |
allowedOAuthFlowsUserPoolClient(Boolean allowedOAuthFlowsUserPoolClient) |
Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
|
UpdateUserPoolClientRequest.Builder |
allowedOAuthScopes(String... allowedOAuthScopes) |
A list of allowed
OAuth scopes. |
UpdateUserPoolClientRequest.Builder |
allowedOAuthScopes(Collection<String> allowedOAuthScopes) |
A list of allowed
OAuth scopes. |
UpdateUserPoolClientRequest.Builder |
callbackURLs(String... callbackURLs) |
A list of allowed callback URLs for the identity providers.
|
UpdateUserPoolClientRequest.Builder |
callbackURLs(Collection<String> callbackURLs) |
A list of allowed callback URLs for the identity providers.
|
UpdateUserPoolClientRequest.Builder |
clientId(String clientId) |
The ID of the client associated with the user pool.
|
UpdateUserPoolClientRequest.Builder |
clientName(String clientName) |
The client name from the update user pool client request.
|
UpdateUserPoolClientRequest.Builder |
defaultRedirectURI(String defaultRedirectURI) |
The default redirect URI.
|
UpdateUserPoolClientRequest.Builder |
explicitAuthFlows(String... explicitAuthFlows) |
Explicit authentication flows.
|
UpdateUserPoolClientRequest.Builder |
explicitAuthFlows(Collection<String> explicitAuthFlows) |
Explicit authentication flows.
|
UpdateUserPoolClientRequest.Builder |
explicitAuthFlows(ExplicitAuthFlowsType... explicitAuthFlows) |
Explicit authentication flows.
|
UpdateUserPoolClientRequest.Builder |
logoutURLs(String... logoutURLs) |
A list ofallowed logout URLs for the identity providers.
|
UpdateUserPoolClientRequest.Builder |
logoutURLs(Collection<String> logoutURLs) |
A list ofallowed logout URLs for the identity providers.
|
UpdateUserPoolClientRequest.Builder |
readAttributes(String... readAttributes) |
The read-only attributes of the user pool.
|
UpdateUserPoolClientRequest.Builder |
readAttributes(Collection<String> readAttributes) |
The read-only attributes of the user pool.
|
UpdateUserPoolClientRequest.Builder |
refreshTokenValidity(Integer refreshTokenValidity) |
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
|
UpdateUserPoolClientRequest.Builder |
supportedIdentityProviders(String... supportedIdentityProviders) |
A list of provider names for the identity providers that are supported on this client.
|
UpdateUserPoolClientRequest.Builder |
supportedIdentityProviders(Collection<String> supportedIdentityProviders) |
A list of provider names for the identity providers that are supported on this client.
|
UpdateUserPoolClientRequest.Builder |
userPoolId(String userPoolId) |
The user pool ID for the user pool where you want to update the user pool client.
|
UpdateUserPoolClientRequest.Builder |
writeAttributes(String... writeAttributes) |
The writeable attributes of the user pool.
|
UpdateUserPoolClientRequest.Builder |
writeAttributes(Collection<String> writeAttributes) |
The writeable attributes of the user pool.
|
copy
apply, build
UpdateUserPoolClientRequest.Builder userPoolId(String userPoolId)
The user pool ID for the user pool where you want to update the user pool client.
userPoolId
- The user pool ID for the user pool where you want to update the user pool client.UpdateUserPoolClientRequest.Builder clientId(String clientId)
The ID of the client associated with the user pool.
clientId
- The ID of the client associated with the user pool.UpdateUserPoolClientRequest.Builder clientName(String clientName)
The client name from the update user pool client request.
clientName
- The client name from the update user pool client request.UpdateUserPoolClientRequest.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.UpdateUserPoolClientRequest.Builder readAttributes(Collection<String> readAttributes)
The read-only attributes of the user pool.
readAttributes
- The read-only attributes of the user pool.UpdateUserPoolClientRequest.Builder readAttributes(String... readAttributes)
The read-only attributes of the user pool.
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-only attributes of the user pool.UpdateUserPoolClientRequest.Builder writeAttributes(Collection<String> writeAttributes)
The writeable attributes of the user pool.
writeAttributes
- The writeable attributes of the user pool.UpdateUserPoolClientRequest.Builder writeAttributes(String... writeAttributes)
The writeable attributes of the user pool.
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 writeable attributes of the user pool.UpdateUserPoolClientRequest.Builder explicitAuthFlows(Collection<String> explicitAuthFlows)
Explicit authentication flows.
explicitAuthFlows
- Explicit authentication flows.ExplicitAuthFlowsType
UpdateUserPoolClientRequest.Builder explicitAuthFlows(String... explicitAuthFlows)
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
- Explicit authentication flows.ExplicitAuthFlowsType
UpdateUserPoolClientRequest.Builder explicitAuthFlows(ExplicitAuthFlowsType... explicitAuthFlows)
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
- Explicit authentication flows.ExplicitAuthFlowsType
UpdateUserPoolClientRequest.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.UpdateUserPoolClientRequest.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.UpdateUserPoolClientRequest.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.UpdateUserPoolClientRequest.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.UpdateUserPoolClientRequest.Builder logoutURLs(Collection<String> logoutURLs)
A list ofallowed logout URLs for the identity providers.
logoutURLs
- A list ofallowed logout URLs for the identity providers.UpdateUserPoolClientRequest.Builder logoutURLs(String... logoutURLs)
A list ofallowed 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 ofallowed logout URLs for the identity providers.UpdateUserPoolClientRequest.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.UpdateUserPoolClientRequest.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
UpdateUserPoolClientRequest.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
UpdateUserPoolClientRequest.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
UpdateUserPoolClientRequest.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"
.UpdateUserPoolClientRequest.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"
.UpdateUserPoolClientRequest.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.