@Generated(value="software.amazon.awssdk:codegen") public final class DomainAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DomainAssociation.Builder,DomainAssociation>
Structure for Domain Association, which associates a custom domain with an Amplify App.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DomainAssociation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DomainAssociation.Builder |
builder() |
String |
certificateVerificationDNSRecord()
DNS Record for certificate verification.
|
String |
domainAssociationArn()
ARN for the Domain Association.
|
String |
domainName()
Name of the domain.
|
DomainStatus |
domainStatus()
Status fo the Domain Association.
|
String |
domainStatusAsString()
Status fo the Domain Association.
|
Boolean |
enableAutoSubDomain()
Enables automated creation of Subdomains for branches.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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()
Reason for the current status of the Domain Association.
|
List<SubDomain> |
subDomains()
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 String domainAssociationArn()
ARN for the Domain Association.
public String domainName()
Name of the domain.
public Boolean enableAutoSubDomain()
Enables automated creation of Subdomains for branches. (Currently not supported)
public DomainStatus domainStatus()
Status fo 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 String domainStatusAsString()
Status fo 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 String statusReason()
Reason for the current status of the Domain Association.
public String certificateVerificationDNSRecord()
DNS Record for certificate verification.
public boolean hasSubDomains()
public List<SubDomain> subDomains()
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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.