public class CreateUserPoolDomainRequest extends AmazonWebServiceRequest implements Serializable
Creates a new domain for a user pool.
Constructor and Description |
---|
CreateUserPoolDomainRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
CustomDomainConfigType |
getCustomDomainConfig()
The configuration for a custom domain that hosts the sign-up and sign-in
webpages for your application.
|
String |
getDomain()
The domain string.
|
String |
getUserPoolId()
The user pool ID.
|
int |
hashCode() |
void |
setCustomDomainConfig(CustomDomainConfigType customDomainConfig)
The configuration for a custom domain that hosts the sign-up and sign-in
webpages for your application.
|
void |
setDomain(String domain)
The domain string.
|
void |
setUserPoolId(String userPoolId)
The user pool ID.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateUserPoolDomainRequest |
withCustomDomainConfig(CustomDomainConfigType customDomainConfig)
The configuration for a custom domain that hosts the sign-up and sign-in
webpages for your application.
|
CreateUserPoolDomainRequest |
withDomain(String domain)
The domain string.
|
CreateUserPoolDomainRequest |
withUserPoolId(String userPoolId)
The user pool ID.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getDomain()
The domain string.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
The domain string.
public void setDomain(String domain)
The domain string.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
domain
- The domain string.
public CreateUserPoolDomainRequest withDomain(String domain)
The domain string.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
domain
- The domain string.
public String getUserPoolId()
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID.
public void setUserPoolId(String userPoolId)
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId
- The user pool ID.
public CreateUserPoolDomainRequest withUserPoolId(String userPoolId)
The user pool ID.
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.
public CustomDomainConfigType getCustomDomainConfig()
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.
For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.
For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.
public void setCustomDomainConfig(CustomDomainConfigType customDomainConfig)
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.
For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.
customDomainConfig
- The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.
For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.
public CreateUserPoolDomainRequest withCustomDomainConfig(CustomDomainConfigType customDomainConfig)
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.
For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.
Returns a reference to this object so that method calls can be chained together.
customDomainConfig
- The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
Provide this parameter only if you want to use a custom domain for your user pool. Otherwise, you can exclude this parameter and use the Amazon Cognito hosted domain instead.
For more information about the hosted domain and custom domains, see Configuring a User Pool Domain.
public String toString()
toString
in class Object
Object.toString()
Copyright © 2020. All rights reserved.