public class CreateUserPoolClientRequest extends AmazonWebServiceRequest implements Serializable
Creates the user pool client.
| Constructor and Description |
|---|
CreateUserPoolClientRequest() |
| Modifier and Type | Method and Description |
|---|---|
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. |
AnalyticsConfigurationType |
getAnalyticsConfiguration()
The Amazon Pinpoint analytics configuration for collecting metrics for
this user pool.
|
List<String> |
getCallbackURLs()
A list of allowed redirect (callback) URLs for the identity providers.
|
String |
getClientName()
The client name for the user pool client you would like to create.
|
String |
getDefaultRedirectURI()
The default redirect URI.
|
List<String> |
getExplicitAuthFlows()
The explicit authentication flows.
|
Boolean |
getGenerateSecret()
Boolean to specify whether you want to generate a secret for the user
pool client being created.
|
List<String> |
getLogoutURLs()
A list of allowed logout URLs for the identity providers.
|
List<String> |
getReadAttributes()
The read attributes.
|
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 create a user pool
client.
|
List<String> |
getWriteAttributes()
The user pool attributes that the app client can write to.
|
int |
hashCode() |
Boolean |
isAllowedOAuthFlowsUserPoolClient()
Set to
True if the client is allowed to follow the OAuth
protocol when interacting with Cognito user pools. |
Boolean |
isGenerateSecret()
Boolean to specify whether you want to generate a secret for the user
pool client being created.
|
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 |
setAnalyticsConfiguration(AnalyticsConfigurationType analyticsConfiguration)
The Amazon Pinpoint analytics configuration for collecting metrics for
this user pool.
|
void |
setCallbackURLs(Collection<String> callbackURLs)
A list of allowed redirect (callback) URLs for the identity providers.
|
void |
setClientName(String clientName)
The client name for the user pool client you would like to create.
|
void |
setDefaultRedirectURI(String defaultRedirectURI)
The default redirect URI.
|
void |
setExplicitAuthFlows(Collection<String> explicitAuthFlows)
The explicit authentication flows.
|
void |
setGenerateSecret(Boolean generateSecret)
Boolean to specify whether you want to generate a secret for the user
pool client being created.
|
void |
setLogoutURLs(Collection<String> logoutURLs)
A list of allowed logout URLs for the identity providers.
|
void |
setReadAttributes(Collection<String> readAttributes)
The read attributes.
|
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 create a user pool
client.
|
void |
setWriteAttributes(Collection<String> writeAttributes)
The user pool attributes that the app client can write to.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateUserPoolClientRequest |
withAllowedOAuthFlows(Collection<String> allowedOAuthFlows)
Set to
code to initiate a code grant flow, which provides an
authorization code as the response. |
CreateUserPoolClientRequest |
withAllowedOAuthFlows(String... allowedOAuthFlows)
Set to
code to initiate a code grant flow, which provides an
authorization code as the response. |
CreateUserPoolClientRequest |
withAllowedOAuthFlowsUserPoolClient(Boolean allowedOAuthFlowsUserPoolClient)
Set to
True if the client is allowed to follow the OAuth
protocol when interacting with Cognito user pools. |
CreateUserPoolClientRequest |
withAllowedOAuthScopes(Collection<String> allowedOAuthScopes)
A list of allowed
OAuth scopes. |
CreateUserPoolClientRequest |
withAllowedOAuthScopes(String... allowedOAuthScopes)
A list of allowed
OAuth scopes. |
CreateUserPoolClientRequest |
withAnalyticsConfiguration(AnalyticsConfigurationType analyticsConfiguration)
The Amazon Pinpoint analytics configuration for collecting metrics for
this user pool.
|
CreateUserPoolClientRequest |
withCallbackURLs(Collection<String> callbackURLs)
A list of allowed redirect (callback) URLs for the identity providers.
|
CreateUserPoolClientRequest |
withCallbackURLs(String... callbackURLs)
A list of allowed redirect (callback) URLs for the identity providers.
|
CreateUserPoolClientRequest |
withClientName(String clientName)
The client name for the user pool client you would like to create.
|
CreateUserPoolClientRequest |
withDefaultRedirectURI(String defaultRedirectURI)
The default redirect URI.
|
CreateUserPoolClientRequest |
withExplicitAuthFlows(Collection<String> explicitAuthFlows)
The explicit authentication flows.
|
CreateUserPoolClientRequest |
withExplicitAuthFlows(String... explicitAuthFlows)
The explicit authentication flows.
|
CreateUserPoolClientRequest |
withGenerateSecret(Boolean generateSecret)
Boolean to specify whether you want to generate a secret for the user
pool client being created.
|
CreateUserPoolClientRequest |
withLogoutURLs(Collection<String> logoutURLs)
A list of allowed logout URLs for the identity providers.
|
CreateUserPoolClientRequest |
withLogoutURLs(String... logoutURLs)
A list of allowed logout URLs for the identity providers.
|
CreateUserPoolClientRequest |
withReadAttributes(Collection<String> readAttributes)
The read attributes.
|
CreateUserPoolClientRequest |
withReadAttributes(String... readAttributes)
The read attributes.
|
CreateUserPoolClientRequest |
withRefreshTokenValidity(Integer refreshTokenValidity)
The time limit, in days, after which the refresh token is no longer valid
and cannot be used.
|
CreateUserPoolClientRequest |
withSupportedIdentityProviders(Collection<String> supportedIdentityProviders)
A list of provider names for the identity providers that are supported on
this client.
|
CreateUserPoolClientRequest |
withSupportedIdentityProviders(String... supportedIdentityProviders)
A list of provider names for the identity providers that are supported on
this client.
|
CreateUserPoolClientRequest |
withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to create a user pool
client.
|
CreateUserPoolClientRequest |
withWriteAttributes(Collection<String> writeAttributes)
The user pool attributes that the app client can write to.
|
CreateUserPoolClientRequest |
withWriteAttributes(String... writeAttributes)
The user pool attributes that the app client can write to.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getUserPoolId()
The user pool ID for the user pool where you want to create a user pool client.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool where you want to create a user pool client.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to create a user pool client.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool where you want to create a user pool client.
public CreateUserPoolClientRequest withUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to create a user pool client.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool where you want to create a user pool client.
public String getClientName()
The client name for the user pool client you would like to create.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
The client name for the user pool client you would like to create.
public void setClientName(String clientName)
The client name for the user pool client you would like to create.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
clientName - The client name for the user pool client you would like to create.
public CreateUserPoolClientRequest withClientName(String clientName)
The client name for the user pool client you would like to create.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
clientName - The client name for the user pool client you would like to create.
public Boolean isGenerateSecret()
Boolean to specify whether you want to generate a secret for the user pool client being created.
Boolean to specify whether you want to generate a secret for the user pool client being created.
public Boolean getGenerateSecret()
Boolean to specify whether you want to generate a secret for the user pool client being created.
Boolean to specify whether you want to generate a secret for the user pool client being created.
public void setGenerateSecret(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.
public CreateUserPoolClientRequest withGenerateSecret(Boolean generateSecret)
Boolean to specify whether you want to generate a secret for the user pool client being created.
Returns a reference to this object so that method calls can be chained together.
generateSecret - Boolean to specify whether you want to generate a secret for the user pool client being created.
public Integer getRefreshTokenValidity()
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
Constraints:
Range: 0 - 3650
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
public void setRefreshTokenValidity(Integer refreshTokenValidity)
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
Constraints:
Range: 0 - 3650
refreshTokenValidity - The time limit, in days, after which the refresh token is no longer valid and cannot be used.
public CreateUserPoolClientRequest withRefreshTokenValidity(Integer refreshTokenValidity)
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 3650
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 attributes.
The read attributes.
public void setReadAttributes(Collection<String> readAttributes)
The read attributes.
readAttributes - The read attributes.
public CreateUserPoolClientRequest withReadAttributes(String... readAttributes)
The read attributes.
Returns a reference to this object so that method calls can be chained together.
readAttributes - The read attributes.
public CreateUserPoolClientRequest withReadAttributes(Collection<String> readAttributes)
The read attributes.
Returns a reference to this object so that method calls can be chained together.
readAttributes - The read attributes.
public List<String> getWriteAttributes()
The user pool attributes that the app client can write to.
If your app client allows users to sign in through an identity provider, this array must include all attributes that are mapped to identity provider attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If your app client lacks write access to a mapped attribute, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
The user pool attributes that the app client can write to.
If your app client allows users to sign in through an identity provider, this array must include all attributes that are mapped to identity provider attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If your app client lacks write access to a mapped attribute, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
public void setWriteAttributes(Collection<String> writeAttributes)
The user pool attributes that the app client can write to.
If your app client allows users to sign in through an identity provider, this array must include all attributes that are mapped to identity provider attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If your app client lacks write access to a mapped attribute, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
writeAttributes - The user pool attributes that the app client can write to.
If your app client allows users to sign in through an identity provider, this array must include all attributes that are mapped to identity provider attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If your app client lacks write access to a mapped attribute, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
public CreateUserPoolClientRequest withWriteAttributes(String... writeAttributes)
The user pool attributes that the app client can write to.
If your app client allows users to sign in through an identity provider, this array must include all attributes that are mapped to identity provider attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If your app client lacks write access to a mapped attribute, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
Returns a reference to this object so that method calls can be chained together.
writeAttributes - The user pool attributes that the app client can write to.
If your app client allows users to sign in through an identity provider, this array must include all attributes that are mapped to identity provider attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If your app client lacks write access to a mapped attribute, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
public CreateUserPoolClientRequest withWriteAttributes(Collection<String> writeAttributes)
The user pool attributes that the app client can write to.
If your app client allows users to sign in through an identity provider, this array must include all attributes that are mapped to identity provider attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If your app client lacks write access to a mapped attribute, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
Returns a reference to this object so that method calls can be chained together.
writeAttributes - The user pool attributes that the app client can write to.
If your app client allows users to sign in through an identity provider, this array must include all attributes that are mapped to identity provider attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an identity provider. If your app client lacks write access to a mapped attribute, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
public List<String> getExplicitAuthFlows()
The explicit authentication flows.
The explicit authentication flows.
public void setExplicitAuthFlows(Collection<String> explicitAuthFlows)
The explicit authentication flows.
explicitAuthFlows - The explicit authentication flows.
public CreateUserPoolClientRequest withExplicitAuthFlows(String... explicitAuthFlows)
The explicit authentication flows.
Returns a reference to this object so that method calls can be chained together.
explicitAuthFlows - The explicit authentication flows.
public CreateUserPoolClientRequest withExplicitAuthFlows(Collection<String> explicitAuthFlows)
The explicit authentication flows.
Returns a reference to this object so that method calls can be chained together.
explicitAuthFlows - The explicit authentication flows.
public List<String> getSupportedIdentityProviders()
A list of provider names for the identity providers that are supported on
this client. The following are supported: COGNITO,
Facebook, Google and
LoginWithAmazon.
A list of provider names for the identity providers that are
supported on this client. The following are supported:
COGNITO, Facebook, Google
and LoginWithAmazon.
public void setSupportedIdentityProviders(Collection<String> supportedIdentityProviders)
A list of provider names for the identity providers that are supported on
this client. The following are supported: COGNITO,
Facebook, Google and
LoginWithAmazon.
supportedIdentityProviders -
A list of provider names for the identity providers that are
supported on this client. The following are supported:
COGNITO, Facebook,
Google and LoginWithAmazon.
public CreateUserPoolClientRequest withSupportedIdentityProviders(String... supportedIdentityProviders)
A list of provider names for the identity providers that are supported on
this client. The following are supported: COGNITO,
Facebook, Google and
LoginWithAmazon.
Returns a reference to this object so that method calls can be chained together.
supportedIdentityProviders -
A list of provider names for the identity providers that are
supported on this client. The following are supported:
COGNITO, Facebook,
Google and LoginWithAmazon.
public CreateUserPoolClientRequest withSupportedIdentityProviders(Collection<String> supportedIdentityProviders)
A list of provider names for the identity providers that are supported on
this client. The following are supported: COGNITO,
Facebook, Google and
LoginWithAmazon.
Returns a reference to this object so that method calls can be chained together.
supportedIdentityProviders -
A list of provider names for the identity providers that are
supported on this client. The following are supported:
COGNITO, Facebook,
Google and LoginWithAmazon.
public List<String> getCallbackURLs()
A list of allowed redirect (callback) URLs for the identity providers.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
A list of allowed redirect (callback) URLs for the identity providers.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
public void setCallbackURLs(Collection<String> callbackURLs)
A list of allowed redirect (callback) URLs for the identity providers.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
callbackURLs - A list of allowed redirect (callback) URLs for the identity providers.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
public CreateUserPoolClientRequest withCallbackURLs(String... callbackURLs)
A list of allowed redirect (callback) URLs for the identity providers.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
Returns a reference to this object so that method calls can be chained together.
callbackURLs - A list of allowed redirect (callback) URLs for the identity providers.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
public CreateUserPoolClientRequest withCallbackURLs(Collection<String> callbackURLs)
A list of allowed redirect (callback) URLs for the identity providers.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
Returns a reference to this object so that method calls can be chained together.
callbackURLs - A list of allowed redirect (callback) URLs for the identity providers.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
public List<String> getLogoutURLs()
A list of allowed logout URLs for the identity providers.
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 CreateUserPoolClientRequest withLogoutURLs(String... logoutURLs)
A list of allowed logout URLs for the identity providers.
Returns a reference to this object so that method calls can be chained together.
logoutURLs - A list of allowed logout URLs for the identity providers.
public CreateUserPoolClientRequest withLogoutURLs(Collection<String> logoutURLs)
A list of allowed logout URLs for the identity providers.
Returns a reference to this object so that method calls can be chained together.
logoutURLs - A list of allowed logout URLs for the identity providers.
public String getDefaultRedirectURI()
The default redirect URI. Must be in the CallbackURLs list.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
Constraints:
Length: 1 - 1024
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The default redirect URI. Must be in the
CallbackURLs list.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
public void setDefaultRedirectURI(String defaultRedirectURI)
The default redirect URI. Must be in the CallbackURLs list.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
Constraints:
Length: 1 - 1024
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
defaultRedirectURI -
The default redirect URI. Must be in the
CallbackURLs list.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
public CreateUserPoolClientRequest withDefaultRedirectURI(String defaultRedirectURI)
The default redirect URI. Must be in the CallbackURLs list.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
defaultRedirectURI -
The default redirect URI. Must be in the
CallbackURLs list.
A redirect URI must:
Be an absolute URI.
Be registered with the authorization server.
Not include a fragment component.
See OAuth 2.0 - Redirection Endpoint.
Amazon Cognito requires HTTPS over HTTP except for http://localhost for testing purposes only.
App callback URLs such as myapp://example are also supported.
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.
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.
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.
public CreateUserPoolClientRequest 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.
Returns a reference to this object so that method calls can be chained together.
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.
public CreateUserPoolClientRequest 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.
Returns a reference to this object so that method calls can be chained together.
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.
public List<String> getAllowedOAuthScopes()
A list of allowed OAuth scopes. Currently supported values
are "phone", "email", "openid",
and "Cognito".
A list of allowed 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 CreateUserPoolClientRequest withAllowedOAuthScopes(String... allowedOAuthScopes)
A list of allowed OAuth scopes. Currently supported values
are "phone", "email", "openid",
and "Cognito".
Returns a reference to this object so that method calls can be chained together.
allowedOAuthScopes -
A list of allowed OAuth scopes. Currently
supported values are "phone",
"email", "openid", and
"Cognito".
public CreateUserPoolClientRequest withAllowedOAuthScopes(Collection<String> allowedOAuthScopes)
A list of allowed OAuth scopes. Currently supported values
are "phone", "email", "openid",
and "Cognito".
Returns a reference to this object so that method calls can be chained together.
allowedOAuthScopes -
A list of allowed OAuth scopes. Currently
supported values are "phone",
"email", "openid", and
"Cognito".
public Boolean isAllowedOAuthFlowsUserPoolClient()
Set to True if the client is allowed to follow the OAuth
protocol when interacting with Cognito user pools.
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.
Set to True if the client is allowed to follow the
OAuth protocol when interacting with Cognito user pools.
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 CreateUserPoolClientRequest withAllowedOAuthFlowsUserPoolClient(Boolean allowedOAuthFlowsUserPoolClient)
Set to True if the client is allowed to follow the OAuth
protocol when interacting with Cognito user pools.
Returns a reference to this object so that method calls can be chained together.
allowedOAuthFlowsUserPoolClient -
Set to True if the client is allowed to follow
the OAuth protocol when interacting with Cognito user pools.
public AnalyticsConfigurationType getAnalyticsConfiguration()
The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.
The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.
public void setAnalyticsConfiguration(AnalyticsConfigurationType analyticsConfiguration)
The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.
analyticsConfiguration - The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.
public CreateUserPoolClientRequest withAnalyticsConfiguration(AnalyticsConfigurationType analyticsConfiguration)
The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.
Returns a reference to this object so that method calls can be chained together.
analyticsConfiguration - The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.