@Generated(value="software.amazon.awssdk:codegen") public final class DomainAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DomainAssociation.Builder,DomainAssociation>
Describes a domain association that associates a custom domain with an Amplify app.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DomainAssociation.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
autoSubDomainCreationPatterns()
Sets branch patterns for automatic subdomain creation.
|
String |
autoSubDomainIAMRole()
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for
automatically creating subdomains.
|
static DomainAssociation.Builder |
builder() |
String |
certificateVerificationDNSRecord()
The DNS record for certificate verification.
|
String |
domainAssociationArn()
The Amazon Resource Name (ARN) for the domain association.
|
String |
domainName()
The name of the domain.
|
DomainStatus |
domainStatus()
The current status of the domain association.
|
String |
domainStatusAsString()
The current status of the domain association.
|
Boolean |
enableAutoSubDomain()
Enables the automated creation of subdomains for branches.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAutoSubDomainCreationPatterns()
Returns true if the AutoSubDomainCreationPatterns property was specified by the sender (it may be empty), or
false if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasSubDomains()
Returns true if the SubDomains property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DomainAssociation.Builder> |
serializableBuilderClass() |
String |
statusReason()
The reason for the current status of the domain association.
|
List<SubDomain> |
subDomains()
The subdomains for the domain association.
|
DomainAssociation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domainAssociationArn()
The Amazon Resource Name (ARN) for the domain association.
public final String domainName()
The name of the domain.
public final Boolean enableAutoSubDomain()
Enables the automated creation of subdomains for branches.
public final boolean hasAutoSubDomainCreationPatterns()
public final List<String> autoSubDomainCreationPatterns()
Sets branch patterns for automatic subdomain creation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAutoSubDomainCreationPatterns() to see if a value was sent in this field.
public final String autoSubDomainIAMRole()
The required AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) for automatically creating subdomains.
public final DomainStatus domainStatus()
The current status of the domain association.
If the service returns an enum value that is not available in the current SDK version, domainStatus will
return DomainStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
domainStatusAsString().
DomainStatuspublic final String domainStatusAsString()
The current status of the domain association.
If the service returns an enum value that is not available in the current SDK version, domainStatus will
return DomainStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
domainStatusAsString().
DomainStatuspublic final String statusReason()
The reason for the current status of the domain association.
public final String certificateVerificationDNSRecord()
The DNS record for certificate verification.
public final boolean hasSubDomains()
public final List<SubDomain> subDomains()
The subdomains for the domain association.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSubDomains() to see if a value was sent in this field.
public DomainAssociation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DomainAssociation.Builder,DomainAssociation>public static DomainAssociation.Builder builder()
public static Class<? extends DomainAssociation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.