@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateUserPoolClientRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the request to update the user pool client.
NOOP
Constructor and Description |
---|
UpdateUserPoolClientRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateUserPoolClientRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getAllowedOAuthFlows()
Set to
code to initiate a code grant flow, which provides an authorization code as the response. |
Boolean |
getAllowedOAuthFlowsUserPoolClient()
Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
|
List<String> |
getAllowedOAuthScopes()
A list of allowed
OAuth scopes. |
List<String> |
getCallbackURLs()
A list of allowed callback URLs for the identity providers.
|
String |
getClientId()
The ID of the client associated with the user pool.
|
String |
getClientName()
The client name from the update user pool client request.
|
String |
getDefaultRedirectURI()
The default redirect URI.
|
List<String> |
getExplicitAuthFlows()
Explicit authentication flows.
|
List<String> |
getLogoutURLs()
A list of allowed logout URLs for the identity providers.
|
List<String> |
getReadAttributes()
The read-only attributes of the user pool.
|
Integer |
getRefreshTokenValidity()
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
|
List<String> |
getSupportedIdentityProviders()
A list of provider names for the identity providers that are supported on this client.
|
String |
getUserPoolId()
The user pool ID for the user pool where you want to update the user pool client.
|
List<String> |
getWriteAttributes()
The writeable attributes of the user pool.
|
int |
hashCode() |
Boolean |
isAllowedOAuthFlowsUserPoolClient()
Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
|
void |
setAllowedOAuthFlows(Collection<String> allowedOAuthFlows)
Set to
code to initiate a code grant flow, which provides an authorization code as the response. |
void |
setAllowedOAuthFlowsUserPoolClient(Boolean allowedOAuthFlowsUserPoolClient)
Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
|
void |
setAllowedOAuthScopes(Collection<String> allowedOAuthScopes)
A list of allowed
OAuth scopes. |
void |
setCallbackURLs(Collection<String> callbackURLs)
A list of allowed callback URLs for the identity providers.
|
void |
setClientId(String clientId)
The ID of the client associated with the user pool.
|
void |
setClientName(String clientName)
The client name from the update user pool client request.
|
void |
setDefaultRedirectURI(String defaultRedirectURI)
The default redirect URI.
|
void |
setExplicitAuthFlows(Collection<String> explicitAuthFlows)
Explicit authentication flows.
|
void |
setLogoutURLs(Collection<String> logoutURLs)
A list of allowed logout URLs for the identity providers.
|
void |
setReadAttributes(Collection<String> readAttributes)
The read-only attributes of the user pool.
|
void |
setRefreshTokenValidity(Integer refreshTokenValidity)
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
|
void |
setSupportedIdentityProviders(Collection<String> supportedIdentityProviders)
A list of provider names for the identity providers that are supported on this client.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to update the user pool client.
|
void |
setWriteAttributes(Collection<String> writeAttributes)
The writeable attributes of the user pool.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateUserPoolClientRequest |
withAllowedOAuthFlows(Collection<String> allowedOAuthFlows)
Set to
code to initiate a code grant flow, which provides an authorization code as the response. |
UpdateUserPoolClientRequest |
withAllowedOAuthFlows(OAuthFlowType... allowedOAuthFlows)
Set to
code to initiate a code grant flow, which provides an authorization code as the response. |
UpdateUserPoolClientRequest |
withAllowedOAuthFlows(String... allowedOAuthFlows)
Set to
code to initiate a code grant flow, which provides an authorization code as the response. |
UpdateUserPoolClientRequest |
withAllowedOAuthFlowsUserPoolClient(Boolean allowedOAuthFlowsUserPoolClient)
Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
|
UpdateUserPoolClientRequest |
withAllowedOAuthScopes(Collection<String> allowedOAuthScopes)
A list of allowed
OAuth scopes. |
UpdateUserPoolClientRequest |
withAllowedOAuthScopes(String... allowedOAuthScopes)
A list of allowed
OAuth scopes. |
UpdateUserPoolClientRequest |
withCallbackURLs(Collection<String> callbackURLs)
A list of allowed callback URLs for the identity providers.
|
UpdateUserPoolClientRequest |
withCallbackURLs(String... callbackURLs)
A list of allowed callback URLs for the identity providers.
|
UpdateUserPoolClientRequest |
withClientId(String clientId)
The ID of the client associated with the user pool.
|
UpdateUserPoolClientRequest |
withClientName(String clientName)
The client name from the update user pool client request.
|
UpdateUserPoolClientRequest |
withDefaultRedirectURI(String defaultRedirectURI)
The default redirect URI.
|
UpdateUserPoolClientRequest |
withExplicitAuthFlows(Collection<String> explicitAuthFlows)
Explicit authentication flows.
|
UpdateUserPoolClientRequest |
withExplicitAuthFlows(ExplicitAuthFlowsType... explicitAuthFlows)
Explicit authentication flows.
|
UpdateUserPoolClientRequest |
withExplicitAuthFlows(String... explicitAuthFlows)
Explicit authentication flows.
|
UpdateUserPoolClientRequest |
withLogoutURLs(Collection<String> logoutURLs)
A list of allowed logout URLs for the identity providers.
|
UpdateUserPoolClientRequest |
withLogoutURLs(String... logoutURLs)
A list of allowed logout URLs for the identity providers.
|
UpdateUserPoolClientRequest |
withReadAttributes(Collection<String> readAttributes)
The read-only attributes of the user pool.
|
UpdateUserPoolClientRequest |
withReadAttributes(String... readAttributes)
The read-only attributes of the user pool.
|
UpdateUserPoolClientRequest |
withRefreshTokenValidity(Integer refreshTokenValidity)
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
|
UpdateUserPoolClientRequest |
withSupportedIdentityProviders(Collection<String> supportedIdentityProviders)
A list of provider names for the identity providers that are supported on this client.
|
UpdateUserPoolClientRequest |
withSupportedIdentityProviders(String... supportedIdentityProviders)
A list of provider names for the identity providers that are supported on this client.
|
UpdateUserPoolClientRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to update the user pool client.
|
UpdateUserPoolClientRequest |
withWriteAttributes(Collection<String> writeAttributes)
The writeable attributes of the user pool.
|
UpdateUserPoolClientRequest |
withWriteAttributes(String... writeAttributes)
The writeable attributes of the user pool.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setUserPoolId(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.public String getUserPoolId()
The user pool ID for the user pool where you want to update the user pool client.
public UpdateUserPoolClientRequest withUserPoolId(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.public void setClientId(String clientId)
The ID of the client associated with the user pool.
clientId
- The ID of the client associated with the user pool.public String getClientId()
The ID of the client associated with the user pool.
public UpdateUserPoolClientRequest withClientId(String clientId)
The ID of the client associated with the user pool.
clientId
- The ID of the client associated with the user pool.public void setClientName(String clientName)
The client name from the update user pool client request.
clientName
- The client name from the update user pool client request.public String getClientName()
The client name from the update user pool client request.
public UpdateUserPoolClientRequest withClientName(String clientName)
The client name from the update user pool client request.
clientName
- The client name from the update user pool client request.public void setRefreshTokenValidity(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.public Integer getRefreshTokenValidity()
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
public UpdateUserPoolClientRequest withRefreshTokenValidity(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.public List<String> getReadAttributes()
The read-only attributes of the user pool.
public void setReadAttributes(Collection<String> readAttributes)
The read-only attributes of the user pool.
readAttributes
- The read-only attributes of the user pool.public UpdateUserPoolClientRequest withReadAttributes(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.public UpdateUserPoolClientRequest withReadAttributes(Collection<String> readAttributes)
The read-only attributes of the user pool.
readAttributes
- The read-only attributes of the user pool.public List<String> getWriteAttributes()
The writeable attributes of the user pool.
public void setWriteAttributes(Collection<String> writeAttributes)
The writeable attributes of the user pool.
writeAttributes
- The writeable attributes of the user pool.public UpdateUserPoolClientRequest withWriteAttributes(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.public UpdateUserPoolClientRequest withWriteAttributes(Collection<String> writeAttributes)
The writeable attributes of the user pool.
writeAttributes
- The writeable attributes of the user pool.public List<String> getExplicitAuthFlows()
Explicit authentication flows.
ExplicitAuthFlowsType
public void setExplicitAuthFlows(Collection<String> explicitAuthFlows)
Explicit authentication flows.
explicitAuthFlows
- Explicit authentication flows.ExplicitAuthFlowsType
public UpdateUserPoolClientRequest withExplicitAuthFlows(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
public UpdateUserPoolClientRequest withExplicitAuthFlows(Collection<String> explicitAuthFlows)
Explicit authentication flows.
explicitAuthFlows
- Explicit authentication flows.ExplicitAuthFlowsType
public UpdateUserPoolClientRequest withExplicitAuthFlows(ExplicitAuthFlowsType... explicitAuthFlows)
Explicit authentication flows.
explicitAuthFlows
- Explicit authentication flows.ExplicitAuthFlowsType
public List<String> getSupportedIdentityProviders()
A list of provider names for the identity providers that are supported on this client.
public void setSupportedIdentityProviders(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.public UpdateUserPoolClientRequest withSupportedIdentityProviders(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.public UpdateUserPoolClientRequest withSupportedIdentityProviders(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.public List<String> getCallbackURLs()
A list of allowed callback URLs for the identity providers.
public void setCallbackURLs(Collection<String> callbackURLs)
A list of allowed callback URLs for the identity providers.
callbackURLs
- A list of allowed callback URLs for the identity providers.public UpdateUserPoolClientRequest withCallbackURLs(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.public UpdateUserPoolClientRequest withCallbackURLs(Collection<String> callbackURLs)
A list of allowed callback URLs for the identity providers.
callbackURLs
- A list of allowed callback URLs for the identity providers.public List<String> getLogoutURLs()
A list of allowed logout URLs for the identity providers.
public void setLogoutURLs(Collection<String> logoutURLs)
A list of allowed logout URLs for the identity providers.
logoutURLs
- A list of allowed logout URLs for the identity providers.public UpdateUserPoolClientRequest withLogoutURLs(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.public UpdateUserPoolClientRequest withLogoutURLs(Collection<String> logoutURLs)
A list of allowed logout URLs for the identity providers.
logoutURLs
- A list of allowed logout URLs for the identity providers.public void setDefaultRedirectURI(String defaultRedirectURI)
The default redirect URI. Must be in the CallbackURLs
list.
defaultRedirectURI
- The default redirect URI. Must be in the CallbackURLs
list.public String getDefaultRedirectURI()
The default redirect URI. Must be in the CallbackURLs
list.
CallbackURLs
list.public UpdateUserPoolClientRequest withDefaultRedirectURI(String defaultRedirectURI)
The default redirect URI. Must be in the CallbackURLs
list.
defaultRedirectURI
- The default redirect URI. Must be in the CallbackURLs
list.public List<String> getAllowedOAuthFlows()
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.
OAuthFlowType
public void setAllowedOAuthFlows(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
public UpdateUserPoolClientRequest withAllowedOAuthFlows(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
public UpdateUserPoolClientRequest withAllowedOAuthFlows(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
public UpdateUserPoolClientRequest withAllowedOAuthFlows(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.
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
public List<String> getAllowedOAuthScopes()
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 void setAllowedOAuthScopes(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"
.public UpdateUserPoolClientRequest withAllowedOAuthScopes(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"
.public UpdateUserPoolClientRequest withAllowedOAuthScopes(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"
.public void setAllowedOAuthFlowsUserPoolClient(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.public Boolean getAllowedOAuthFlowsUserPoolClient()
Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
public UpdateUserPoolClientRequest withAllowedOAuthFlowsUserPoolClient(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.public Boolean isAllowedOAuthFlowsUserPoolClient()
Set to TRUE if the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.
public String toString()
toString
in class Object
Object.toString()
public UpdateUserPoolClientRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.