@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()
For responses, this returns true if the service returned a value for the AutoSubDomainCreationPatterns property.
|
int |
hashCode() |
boolean |
hasSubDomains()
For responses, this returns true if the service returned a value for the SubDomains property.
|
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()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAutoSubDomainCreationPatterns() method.
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()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSubDomains() method.
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 © 2023. All rights reserved.