public class UpdateUserPoolClientRequest extends AmazonWebServiceRequest implements Serializable
Allows the developer to update the specified user pool client and password policy.
| Constructor and Description |
|---|
UpdateUserPoolClientRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClientId()
The ID of the client associated with the user pool.
|
String |
getClientName()
The client name from the update user pool client request.
|
List<String> |
getExplicitAuthFlows()
Explicit authentication flows.
|
List<String> |
getReadAttributes()
The read-only attributes of the user pool.
|
Integer |
getRefreshTokenValidity()
The validity of the refresh token.
|
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() |
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 |
setExplicitAuthFlows(Collection<String> explicitAuthFlows)
Explicit authentication flows.
|
void |
setReadAttributes(Collection<String> readAttributes)
The read-only attributes of the user pool.
|
void |
setRefreshTokenValidity(Integer refreshTokenValidity)
The validity of the refresh token.
|
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 |
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 |
withExplicitAuthFlows(Collection<String> explicitAuthFlows)
Explicit authentication flows.
|
UpdateUserPoolClientRequest |
withExplicitAuthFlows(String... explicitAuthFlows)
Explicit authentication flows.
|
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 validity of the refresh token.
|
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.
|
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 update the 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 update the user pool client.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool where you want to update the 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 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.
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 update the user pool client.
public String getClientId()
The ID of the client associated with the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
The ID of the client associated with the user pool.
public void setClientId(String clientId)
The ID of the client associated with the user pool.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
clientId - 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+]+
clientId - The ID of the client associated with the user pool.
public String getClientName()
The client name from the update user pool client request.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
The client name from the update user pool client request.
public void setClientName(String clientName)
The client name from the update user pool client request.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
clientName - 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.
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 from the update user pool client request.
public Integer getRefreshTokenValidity()
The validity of the refresh token.
Constraints:
Range: 0 - 3650
The validity of the refresh token.
public void setRefreshTokenValidity(Integer refreshTokenValidity)
The validity of the refresh token.
Constraints:
Range: 0 - 3650
refreshTokenValidity - The validity of the refresh token.
public UpdateUserPoolClientRequest withRefreshTokenValidity(Integer refreshTokenValidity)
The validity of the refresh token.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 3650
refreshTokenValidity - The validity of the refresh token.
public List<String> getReadAttributes()
The read-only attributes of the user pool.
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.
Returns a reference to this object so that method calls can be chained together.
readAttributes - The read-only attributes of the user pool.
public UpdateUserPoolClientRequest withReadAttributes(Collection<String> readAttributes)
The read-only attributes of the user pool.
Returns a reference to this object so that method calls can be chained together.
readAttributes - The read-only attributes of the user pool.
public List<String> getWriteAttributes()
The writeable attributes of the user pool.
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.
Returns a reference to this object so that method calls can be chained together.
writeAttributes - The writeable attributes of the user pool.
public UpdateUserPoolClientRequest withWriteAttributes(Collection<String> writeAttributes)
The writeable attributes of the user pool.
Returns a reference to this object so that method calls can be chained together.
writeAttributes - The writeable attributes of the user pool.
public List<String> getExplicitAuthFlows()
Explicit authentication flows.
Explicit authentication flows.
public void setExplicitAuthFlows(Collection<String> explicitAuthFlows)
Explicit authentication flows.
explicitAuthFlows - Explicit authentication flows.
public UpdateUserPoolClientRequest withExplicitAuthFlows(String... explicitAuthFlows)
Explicit authentication flows.
Returns a reference to this object so that method calls can be chained together.
explicitAuthFlows - Explicit authentication flows.
public UpdateUserPoolClientRequest withExplicitAuthFlows(Collection<String> explicitAuthFlows)
Explicit authentication flows.
Returns a reference to this object so that method calls can be chained together.
explicitAuthFlows - Explicit authentication flows.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.