@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) |
List<ExplicitAuthFlowsType> |
explicitAuthFlows()
Explicit authentication flows.
|
List<String> |
explicitAuthFlowsAsStrings()
Explicit authentication flows.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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.
|
overrideConfiguration
copy
public 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.
Set to token
to specify that the client should get the access token (and, optionally, ID token,
based on scopes) directly.
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.
Set to token
to specify that the client should get the access token (and, optionally, ID
token, based on scopes) directly.
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.
Set to token
to specify that the client should get the access token (and, optionally, ID token,
based on scopes) directly.
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.
Set to token
to specify that the client should get the access token (and, optionally, ID
token, based on scopes) directly.
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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateUserPoolClientRequest.Builder,UpdateUserPoolClientRequest>
toBuilder
in class CognitoIdentityProviderRequest
public static UpdateUserPoolClientRequest.Builder builder()
public static Class<? extends UpdateUserPoolClientRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.