@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDomainAssociationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The request structure for the create domain association request.
NOOP
Constructor and Description |
---|
CreateDomainAssociationRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDomainAssociationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAppId()
The unique ID for an Amplify app.
|
List<String> |
getAutoSubDomainCreationPatterns()
Sets the branch patterns for automatic subdomain creation.
|
String |
getAutoSubDomainIAMRole()
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for
automatically creating subdomains.
|
CertificateSettings |
getCertificateSettings()
The type of SSL/TLS certificate to use for your custom domain.
|
String |
getDomainName()
The domain name for the domain association.
|
Boolean |
getEnableAutoSubDomain()
Enables the automated creation of subdomains for branches.
|
List<SubDomainSetting> |
getSubDomainSettings()
The setting for the subdomain.
|
int |
hashCode() |
Boolean |
isEnableAutoSubDomain()
Enables the automated creation of subdomains for branches.
|
void |
setAppId(String appId)
The unique ID for an Amplify app.
|
void |
setAutoSubDomainCreationPatterns(Collection<String> autoSubDomainCreationPatterns)
Sets the branch patterns for automatic subdomain creation.
|
void |
setAutoSubDomainIAMRole(String autoSubDomainIAMRole)
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for
automatically creating subdomains.
|
void |
setCertificateSettings(CertificateSettings certificateSettings)
The type of SSL/TLS certificate to use for your custom domain.
|
void |
setDomainName(String domainName)
The domain name for the domain association.
|
void |
setEnableAutoSubDomain(Boolean enableAutoSubDomain)
Enables the automated creation of subdomains for branches.
|
void |
setSubDomainSettings(Collection<SubDomainSetting> subDomainSettings)
The setting for the subdomain.
|
String |
toString()
Returns a string representation of this object.
|
CreateDomainAssociationRequest |
withAppId(String appId)
The unique ID for an Amplify app.
|
CreateDomainAssociationRequest |
withAutoSubDomainCreationPatterns(Collection<String> autoSubDomainCreationPatterns)
Sets the branch patterns for automatic subdomain creation.
|
CreateDomainAssociationRequest |
withAutoSubDomainCreationPatterns(String... autoSubDomainCreationPatterns)
Sets the branch patterns for automatic subdomain creation.
|
CreateDomainAssociationRequest |
withAutoSubDomainIAMRole(String autoSubDomainIAMRole)
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for
automatically creating subdomains.
|
CreateDomainAssociationRequest |
withCertificateSettings(CertificateSettings certificateSettings)
The type of SSL/TLS certificate to use for your custom domain.
|
CreateDomainAssociationRequest |
withDomainName(String domainName)
The domain name for the domain association.
|
CreateDomainAssociationRequest |
withEnableAutoSubDomain(Boolean enableAutoSubDomain)
Enables the automated creation of subdomains for branches.
|
CreateDomainAssociationRequest |
withSubDomainSettings(Collection<SubDomainSetting> subDomainSettings)
The setting for the subdomain.
|
CreateDomainAssociationRequest |
withSubDomainSettings(SubDomainSetting... subDomainSettings)
The setting for the subdomain.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAppId(String appId)
The unique ID for an Amplify app.
appId
- The unique ID for an Amplify app.public String getAppId()
The unique ID for an Amplify app.
public CreateDomainAssociationRequest withAppId(String appId)
The unique ID for an Amplify app.
appId
- The unique ID for an Amplify app.public void setDomainName(String domainName)
The domain name for the domain association.
domainName
- The domain name for the domain association.public String getDomainName()
The domain name for the domain association.
public CreateDomainAssociationRequest withDomainName(String domainName)
The domain name for the domain association.
domainName
- The domain name for the domain association.public void setEnableAutoSubDomain(Boolean enableAutoSubDomain)
Enables the automated creation of subdomains for branches.
enableAutoSubDomain
- Enables the automated creation of subdomains for branches.public Boolean getEnableAutoSubDomain()
Enables the automated creation of subdomains for branches.
public CreateDomainAssociationRequest withEnableAutoSubDomain(Boolean enableAutoSubDomain)
Enables the automated creation of subdomains for branches.
enableAutoSubDomain
- Enables the automated creation of subdomains for branches.public Boolean isEnableAutoSubDomain()
Enables the automated creation of subdomains for branches.
public List<SubDomainSetting> getSubDomainSettings()
The setting for the subdomain.
public void setSubDomainSettings(Collection<SubDomainSetting> subDomainSettings)
The setting for the subdomain.
subDomainSettings
- The setting for the subdomain.public CreateDomainAssociationRequest withSubDomainSettings(SubDomainSetting... subDomainSettings)
The setting for the subdomain.
NOTE: This method appends the values to the existing list (if any). Use
setSubDomainSettings(java.util.Collection)
or withSubDomainSettings(java.util.Collection)
if
you want to override the existing values.
subDomainSettings
- The setting for the subdomain.public CreateDomainAssociationRequest withSubDomainSettings(Collection<SubDomainSetting> subDomainSettings)
The setting for the subdomain.
subDomainSettings
- The setting for the subdomain.public List<String> getAutoSubDomainCreationPatterns()
Sets the branch patterns for automatic subdomain creation.
public void setAutoSubDomainCreationPatterns(Collection<String> autoSubDomainCreationPatterns)
Sets the branch patterns for automatic subdomain creation.
autoSubDomainCreationPatterns
- Sets the branch patterns for automatic subdomain creation.public CreateDomainAssociationRequest withAutoSubDomainCreationPatterns(String... autoSubDomainCreationPatterns)
Sets the branch patterns for automatic subdomain creation.
NOTE: This method appends the values to the existing list (if any). Use
setAutoSubDomainCreationPatterns(java.util.Collection)
or
withAutoSubDomainCreationPatterns(java.util.Collection)
if you want to override the existing values.
autoSubDomainCreationPatterns
- Sets the branch patterns for automatic subdomain creation.public CreateDomainAssociationRequest withAutoSubDomainCreationPatterns(Collection<String> autoSubDomainCreationPatterns)
Sets the branch patterns for automatic subdomain creation.
autoSubDomainCreationPatterns
- Sets the branch patterns for automatic subdomain creation.public void setAutoSubDomainIAMRole(String autoSubDomainIAMRole)
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
autoSubDomainIAMRole
- The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for
automatically creating subdomains.public String getAutoSubDomainIAMRole()
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
public CreateDomainAssociationRequest withAutoSubDomainIAMRole(String autoSubDomainIAMRole)
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
autoSubDomainIAMRole
- The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for
automatically creating subdomains.public void setCertificateSettings(CertificateSettings certificateSettings)
The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
certificateSettings
- The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type,
Amplify uses the default certificate that it provisions and manages for you.public CertificateSettings getCertificateSettings()
The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
public CreateDomainAssociationRequest withCertificateSettings(CertificateSettings certificateSettings)
The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type, Amplify uses the default certificate that it provisions and manages for you.
certificateSettings
- The type of SSL/TLS certificate to use for your custom domain. If you don't specify a certificate type,
Amplify uses the default certificate that it provisions and manages for you.public String toString()
toString
in class Object
Object.toString()
public CreateDomainAssociationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()