public class UserPoolClientType extends Object implements Serializable
A user pool of the client type.
| Constructor and Description |
|---|
UserPoolClientType() |
| 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 user pool request of the client type.
|
String |
getClientSecret()
The client secret from the user pool request of the client type.
|
Date |
getCreationDate()
The creation date from the user pool request of the client type.
|
List<String> |
getExplicitAuthFlows()
The explicit authentication flows.
|
Date |
getLastModifiedDate()
The last modified date from the user pool request of the client type.
|
List<String> |
getReadAttributes()
The Read-only attributes.
|
Integer |
getRefreshTokenValidity()
The validity of the refresh token.
|
String |
getUserPoolId()
The user pool ID for the user pool client.
|
List<String> |
getWriteAttributes()
The writeable attributes.
|
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 user pool request of the client type.
|
void |
setClientSecret(String clientSecret)
The client secret from the user pool request of the client type.
|
void |
setCreationDate(Date creationDate)
The creation date from the user pool request of the client type.
|
void |
setExplicitAuthFlows(Collection<String> explicitAuthFlows)
The explicit authentication flows.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The last modified date from the user pool request of the client type.
|
void |
setReadAttributes(Collection<String> readAttributes)
The Read-only attributes.
|
void |
setRefreshTokenValidity(Integer refreshTokenValidity)
The validity of the refresh token.
|
void |
setUserPoolId(String userPoolId)
The user pool ID for the user pool client.
|
void |
setWriteAttributes(Collection<String> writeAttributes)
The writeable attributes.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UserPoolClientType |
withClientId(String clientId)
The ID of the client associated with the user pool.
|
UserPoolClientType |
withClientName(String clientName)
The client name from the user pool request of the client type.
|
UserPoolClientType |
withClientSecret(String clientSecret)
The client secret from the user pool request of the client type.
|
UserPoolClientType |
withCreationDate(Date creationDate)
The creation date from the user pool request of the client type.
|
UserPoolClientType |
withExplicitAuthFlows(Collection<String> explicitAuthFlows)
The explicit authentication flows.
|
UserPoolClientType |
withExplicitAuthFlows(String... explicitAuthFlows)
The explicit authentication flows.
|
UserPoolClientType |
withLastModifiedDate(Date lastModifiedDate)
The last modified date from the user pool request of the client type.
|
UserPoolClientType |
withReadAttributes(Collection<String> readAttributes)
The Read-only attributes.
|
UserPoolClientType |
withReadAttributes(String... readAttributes)
The Read-only attributes.
|
UserPoolClientType |
withRefreshTokenValidity(Integer refreshTokenValidity)
The validity of the refresh token.
|
UserPoolClientType |
withUserPoolId(String userPoolId)
The user pool ID for the user pool client.
|
UserPoolClientType |
withWriteAttributes(Collection<String> writeAttributes)
The writeable attributes.
|
UserPoolClientType |
withWriteAttributes(String... writeAttributes)
The writeable attributes.
|
public String getUserPoolId()
The user pool ID for the user pool client.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID for the user pool client.
public void setUserPoolId(String userPoolId)
The user pool ID for the user pool client.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID for the user pool client.
public UserPoolClientType withUserPoolId(String userPoolId)
The user pool ID for 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 client.
public String getClientName()
The client name from the user pool request of the client type.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
The client name from the user pool request of the client type.
public void setClientName(String clientName)
The client name from the user pool request of the client type.
Constraints:
Length: 1 - 128
Pattern: [\w\s+=,.@-]+
clientName - The client name from the user pool request of the client type.
public UserPoolClientType withClientName(String clientName)
The client name from the user pool request of the client type.
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 user pool request of the client type.
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 UserPoolClientType 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 getClientSecret()
The client secret from the user pool request of the client type.
Constraints:
Length: 1 - 64
Pattern: [\w+]+
The client secret from the user pool request of the client type.
public void setClientSecret(String clientSecret)
The client secret from the user pool request of the client type.
Constraints:
Length: 1 - 64
Pattern: [\w+]+
clientSecret - The client secret from the user pool request of the client type.
public UserPoolClientType withClientSecret(String clientSecret)
The client secret from the user pool request of the client type.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [\w+]+
clientSecret - The client secret from the user pool request of the client type.
public Date getLastModifiedDate()
The last modified date from the user pool request of the client type.
The last modified date from the user pool request of the client type.
public void setLastModifiedDate(Date lastModifiedDate)
The last modified date from the user pool request of the client type.
lastModifiedDate - The last modified date from the user pool request of the client type.
public UserPoolClientType withLastModifiedDate(Date lastModifiedDate)
The last modified date from the user pool request of the client type.
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - The last modified date from the user pool request of the client type.
public Date getCreationDate()
The creation date from the user pool request of the client type.
The creation date from the user pool request of the client type.
public void setCreationDate(Date creationDate)
The creation date from the user pool request of the client type.
creationDate - The creation date from the user pool request of the client type.
public UserPoolClientType withCreationDate(Date creationDate)
The creation date from the user pool request of the client type.
Returns a reference to this object so that method calls can be chained together.
creationDate - The creation date from the user pool request of the client type.
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 UserPoolClientType 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.
The Read-only attributes.
public void setReadAttributes(Collection<String> readAttributes)
The Read-only attributes.
readAttributes - The Read-only attributes.
public UserPoolClientType withReadAttributes(String... readAttributes)
The Read-only attributes.
Returns a reference to this object so that method calls can be chained together.
readAttributes - The Read-only attributes.
public UserPoolClientType withReadAttributes(Collection<String> readAttributes)
The Read-only attributes.
Returns a reference to this object so that method calls can be chained together.
readAttributes - The Read-only attributes.
public List<String> getWriteAttributes()
The writeable attributes.
The writeable attributes.
public void setWriteAttributes(Collection<String> writeAttributes)
The writeable attributes.
writeAttributes - The writeable attributes.
public UserPoolClientType withWriteAttributes(String... writeAttributes)
The writeable attributes.
Returns a reference to this object so that method calls can be chained together.
writeAttributes - The writeable attributes.
public UserPoolClientType withWriteAttributes(Collection<String> writeAttributes)
The writeable attributes.
Returns a reference to this object so that method calls can be chained together.
writeAttributes - The writeable 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 UserPoolClientType 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 UserPoolClientType 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.