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) |
String |
getClientName()
The client name for the user pool client you would like to create.
|
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> |
getReadAttributes()
The read attributes.
|
Integer |
getRefreshTokenValidity()
Refreshes the token validity.
|
String |
getUserPoolId()
The user pool ID for the user pool where you want to create a user pool
client.
|
List<String> |
getWriteAttributes()
The write attributes.
|
int |
hashCode() |
Boolean |
isGenerateSecret()
Boolean to specify whether you want to generate a secret for the user
pool client being created.
|
void |
setClientName(String clientName)
The client name for the user pool client you would like to create.
|
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 |
setReadAttributes(Collection<String> readAttributes)
The read attributes.
|
void |
setRefreshTokenValidity(Integer refreshTokenValidity)
Refreshes the token validity.
|
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 write attributes.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateUserPoolClientRequest |
withClientName(String clientName)
The client name for the user pool client you would like to create.
|
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 |
withReadAttributes(Collection<String> readAttributes)
The read attributes.
|
CreateUserPoolClientRequest |
withReadAttributes(String... readAttributes)
The read attributes.
|
CreateUserPoolClientRequest |
withRefreshTokenValidity(Integer refreshTokenValidity)
Refreshes the token validity.
|
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 write attributes.
|
CreateUserPoolClientRequest |
withWriteAttributes(String... writeAttributes)
The write attributes.
|
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()
Refreshes the token validity.
Constraints:
Range: 0 - 3650
Refreshes the token validity.
public void setRefreshTokenValidity(Integer refreshTokenValidity)
Refreshes the token validity.
Constraints:
Range: 0 - 3650
refreshTokenValidity - Refreshes the token validity.
public CreateUserPoolClientRequest withRefreshTokenValidity(Integer refreshTokenValidity)
Refreshes the token validity.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 3650
refreshTokenValidity - Refreshes the token validity.
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 write attributes.
The write attributes.
public void setWriteAttributes(Collection<String> writeAttributes)
The write attributes.
writeAttributes - The write attributes.
public CreateUserPoolClientRequest withWriteAttributes(String... writeAttributes)
The write attributes.
Returns a reference to this object so that method calls can be chained together.
writeAttributes - The write attributes.
public CreateUserPoolClientRequest withWriteAttributes(Collection<String> writeAttributes)
The write attributes.
Returns a reference to this object so that method calls can be chained together.
writeAttributes - The write attributes.
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 String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.