public class DomainDescriptionType
extends java.lang.Object
implements java.io.Serializable
A container for information about a domain.
| Constructor and Description |
|---|
DomainDescriptionType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAWSAccountId()
The Amazon Web Services ID for the user pool owner.
|
java.lang.String |
getCloudFrontDistribution()
The Amazon CloudFront endpoint that you use as the target of the alias
that you set up with your Domain Name Service (DNS) provider.
|
CustomDomainConfigType |
getCustomDomainConfig()
The configuration for a custom domain that hosts the sign-up and sign-in
webpages for your application.
|
java.lang.String |
getDomain()
The domain string.
|
java.lang.String |
getS3Bucket()
The Amazon S3 bucket where the static files for this domain are stored.
|
java.lang.String |
getStatus()
The domain status.
|
java.lang.String |
getUserPoolId()
The user pool ID.
|
java.lang.String |
getVersion()
The app version.
|
int |
hashCode() |
void |
setAWSAccountId(java.lang.String aWSAccountId)
The Amazon Web Services ID for the user pool owner.
|
void |
setCloudFrontDistribution(java.lang.String cloudFrontDistribution)
The Amazon CloudFront endpoint that you use as the target of the alias
that you set up with your Domain Name Service (DNS) provider.
|
void |
setCustomDomainConfig(CustomDomainConfigType customDomainConfig)
The configuration for a custom domain that hosts the sign-up and sign-in
webpages for your application.
|
void |
setDomain(java.lang.String domain)
The domain string.
|
void |
setS3Bucket(java.lang.String s3Bucket)
The Amazon S3 bucket where the static files for this domain are stored.
|
void |
setStatus(DomainStatusType status)
The domain status.
|
void |
setStatus(java.lang.String status)
The domain status.
|
void |
setUserPoolId(java.lang.String userPoolId)
The user pool ID.
|
void |
setVersion(java.lang.String version)
The app version.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DomainDescriptionType |
withAWSAccountId(java.lang.String aWSAccountId)
The Amazon Web Services ID for the user pool owner.
|
DomainDescriptionType |
withCloudFrontDistribution(java.lang.String cloudFrontDistribution)
The Amazon CloudFront endpoint that you use as the target of the alias
that you set up with your Domain Name Service (DNS) provider.
|
DomainDescriptionType |
withCustomDomainConfig(CustomDomainConfigType customDomainConfig)
The configuration for a custom domain that hosts the sign-up and sign-in
webpages for your application.
|
DomainDescriptionType |
withDomain(java.lang.String domain)
The domain string.
|
DomainDescriptionType |
withS3Bucket(java.lang.String s3Bucket)
The Amazon S3 bucket where the static files for this domain are stored.
|
DomainDescriptionType |
withStatus(DomainStatusType status)
The domain status.
|
DomainDescriptionType |
withStatus(java.lang.String status)
The domain status.
|
DomainDescriptionType |
withUserPoolId(java.lang.String userPoolId)
The user pool ID.
|
DomainDescriptionType |
withVersion(java.lang.String version)
The app version.
|
public java.lang.String getUserPoolId()
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
The user pool ID.
public void setUserPoolId(java.lang.String userPoolId)
The user pool ID.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-zA-Z]+
userPoolId - The user pool ID.
public DomainDescriptionType withUserPoolId(java.lang.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 java.lang.String getAWSAccountId()
The Amazon Web Services ID for the user pool owner.
Constraints:
Length: - 12
Pattern: [0-9]+
The Amazon Web Services ID for the user pool owner.
public void setAWSAccountId(java.lang.String aWSAccountId)
The Amazon Web Services ID for the user pool owner.
Constraints:
Length: - 12
Pattern: [0-9]+
aWSAccountId - The Amazon Web Services ID for the user pool owner.
public DomainDescriptionType withAWSAccountId(java.lang.String aWSAccountId)
The Amazon Web Services ID for the user pool owner.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 12
Pattern: [0-9]+
aWSAccountId - The Amazon Web Services ID for the user pool owner.
public java.lang.String getDomain()
The domain string. For custom domains, this is the fully-qualified domain
name, such as auth.example.com. For Amazon Cognito prefix
domains, this is the prefix alone, such as auth.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
The domain string. For custom domains, this is the
fully-qualified domain name, such as
auth.example.com. For Amazon Cognito prefix domains,
this is the prefix alone, such as auth.
public void setDomain(java.lang.String domain)
The domain string. For custom domains, this is the fully-qualified domain
name, such as auth.example.com. For Amazon Cognito prefix
domains, this is the prefix alone, such as auth.
Constraints:
Length: 1 - 63
Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$
domain -
The domain string. For custom domains, this is the
fully-qualified domain name, such as
auth.example.com. For Amazon Cognito prefix
domains, this is the prefix alone, such as auth.
public DomainDescriptionType withDomain(java.lang.String domain)
The domain string. For custom domains, this is the fully-qualified domain
name, such as auth.example.com. For Amazon Cognito prefix
domains, this is the prefix alone, such as auth.
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. For custom domains, this is the
fully-qualified domain name, such as
auth.example.com. For Amazon Cognito prefix
domains, this is the prefix alone, such as auth.
public java.lang.String getS3Bucket()
The Amazon S3 bucket where the static files for this domain are stored.
Constraints:
Length: 3 - 1024
Pattern: ^[0-9A-Za-z\.\-_]*(?
The Amazon S3 bucket where the static files for this domain are stored.
public void setS3Bucket(java.lang.String s3Bucket)
The Amazon S3 bucket where the static files for this domain are stored.
Constraints:
Length: 3 - 1024
Pattern: ^[0-9A-Za-z\.\-_]*(?
s3Bucket - The Amazon S3 bucket where the static files for this domain are stored.
public DomainDescriptionType withS3Bucket(java.lang.String s3Bucket)
The Amazon S3 bucket where the static files for this domain are stored.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 1024
Pattern: ^[0-9A-Za-z\.\-_]*(?
s3Bucket - The Amazon S3 bucket where the static files for this domain are stored.
public java.lang.String getCloudFrontDistribution()
The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
Constraints:
Length: 0 - 131072
The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
public void setCloudFrontDistribution(java.lang.String cloudFrontDistribution)
The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
Constraints:
Length: 0 - 131072
cloudFrontDistribution - The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
public DomainDescriptionType withCloudFrontDistribution(java.lang.String cloudFrontDistribution)
The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 131072
cloudFrontDistribution - The Amazon CloudFront endpoint that you use as the target of the alias that you set up with your Domain Name Service (DNS) provider.
public java.lang.String getVersion()
The app version.
Constraints:
Length: 1 - 20
The app version.
public void setVersion(java.lang.String version)
The app version.
Constraints:
Length: 1 - 20
version - The app version.
public DomainDescriptionType withVersion(java.lang.String version)
The app version.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 20
version - The app version.
public java.lang.String getStatus()
The domain status.
Constraints:
Allowed Values: CREATING, DELETING, UPDATING, ACTIVE, FAILED
The domain status.
DomainStatusTypepublic void setStatus(java.lang.String status)
The domain status.
Constraints:
Allowed Values: CREATING, DELETING, UPDATING, ACTIVE, FAILED
status - The domain status.
DomainStatusTypepublic DomainDescriptionType withStatus(java.lang.String status)
The domain status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, DELETING, UPDATING, ACTIVE, FAILED
status - The domain status.
DomainStatusTypepublic void setStatus(DomainStatusType status)
The domain status.
Constraints:
Allowed Values: CREATING, DELETING, UPDATING, ACTIVE, FAILED
status - The domain status.
DomainStatusTypepublic DomainDescriptionType withStatus(DomainStatusType status)
The domain status.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CREATING, DELETING, UPDATING, ACTIVE, FAILED
status - The domain status.
DomainStatusTypepublic CustomDomainConfigType getCustomDomainConfig()
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
public void setCustomDomainConfig(CustomDomainConfigType customDomainConfig)
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
customDomainConfig - The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
public DomainDescriptionType withCustomDomainConfig(CustomDomainConfigType customDomainConfig)
The configuration for a custom domain that hosts the sign-up and sign-in webpages for your application.
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.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object