@Generated(value="software.amazon.awssdk:codegen") public final class UpdateUserPoolClientRequest extends CognitoIdentityProviderRequest implements ToCopyableBuilder<UpdateUserPoolClientRequest.Builder,UpdateUserPoolClientRequest>
Represents the request to update the user pool client.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateUserPoolClientRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<OAuthFlowType> |
allowedOAuthFlows()
Set to
code to initiate a code grant flow, which provides an authorization code as the response. |
List<String> |
allowedOAuthFlowsAsStrings()
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. |
AnalyticsConfigurationType |
analyticsConfiguration()
The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.
|
static UpdateUserPoolClientRequest.Builder |
builder() |
List<String> |
callbackURLs()
A list of allowed redirect (callback) URLs for the identity providers.
|
String |
clientId()
The ID of the client associated with the user pool.
|
String |
clientName()
The client name from the update user pool client request.
|
String |
defaultRedirectURI()
The default redirect URI.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<ExplicitAuthFlowsType> |
explicitAuthFlows()
Explicit authentication flows.
|
List<String> |
explicitAuthFlowsAsStrings()
Explicit authentication flows.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<String> |
logoutURLs()
A list of allowed logout URLs for the identity providers.
|
List<String> |
readAttributes()
The read-only attributes of the user pool.
|
Integer |
refreshTokenValidity()
The time limit, in days, after which the refresh token is no longer valid and cannot be used.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateUserPoolClientRequest.Builder> |
serializableBuilderClass() |
List<String> |
supportedIdentityProviders()
A list of provider names for the identity providers that are supported on this client.
|
UpdateUserPoolClientRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userPoolId()
The user pool ID for the user pool where you want to update the user pool client.
|
List<String> |
writeAttributes()
The writeable attributes of the user pool.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String userPoolId()
The user pool ID for the user pool where you want to update the user pool client.
public String clientId()
The ID of the client associated with the user pool.
public String clientName()
The client name from the update user pool client request.
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-only attributes of the user pool.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> writeAttributes()
The writeable attributes of the user pool.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<ExplicitAuthFlowsType> explicitAuthFlows()
Explicit authentication flows.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> explicitAuthFlowsAsStrings()
Explicit authentication flows.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<String> supportedIdentityProviders()
A list of provider names for the identity providers that are supported on this client.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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> logoutURLs()
A list of allowed logout URLs for the identity providers.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public 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.
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<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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.public List<String> allowedOAuthFlowsAsStrings()
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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.public List<String> allowedOAuthScopes()
A list of allowed OAuth scopes. Currently supported values are "phone",
"email", "openid", and "Cognito".
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
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.
public AnalyticsConfigurationType analyticsConfiguration()
The Amazon Pinpoint analytics configuration for collecting metrics for this user pool.
public UpdateUserPoolClientRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateUserPoolClientRequest.Builder,UpdateUserPoolClientRequest>toBuilder in class CognitoIdentityProviderRequestpublic static UpdateUserPoolClientRequest.Builder builder()
public static Class<? extends UpdateUserPoolClientRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.