@Generated(value="software.amazon.awssdk:codegen") public final class CustomDomain extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomDomain.Builder,CustomDomain>
Describes a custom domain that's associated with an App Runner service.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CustomDomain.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CustomDomain.Builder |
builder() |
List<CertificateValidationRecord> |
certificateValidationRecords()
A list of certificate CNAME records that's used for this domain name.
|
String |
domainName()
An associated custom domain endpoint.
|
Boolean |
enableWWWSubdomain()
When
true, the subdomain www.DomainName is associated with the App Runner
service in addition to the base domain. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasCertificateValidationRecords()
For responses, this returns true if the service returned a value for the CertificateValidationRecords property.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CustomDomain.Builder> |
serializableBuilderClass() |
CustomDomainAssociationStatus |
status()
The current state of the domain name association.
|
String |
statusAsString()
The current state of the domain name association.
|
CustomDomain.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String domainName()
An associated custom domain endpoint. It can be a root domain (for example, example.com), a
subdomain (for example, login.example.com or admin.login.example.com), or a wildcard
(for example, *.example.com).
example.com), a
subdomain (for example, login.example.com or admin.login.example.com), or a
wildcard (for example, *.example.com).public final Boolean enableWWWSubdomain()
When true, the subdomain www.DomainName is associated with the App Runner
service in addition to the base domain.
true, the subdomain www.DomainName is associated with the App
Runner service in addition to the base domain.public final boolean hasCertificateValidationRecords()
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<CertificateValidationRecord> certificateValidationRecords()
A list of certificate CNAME records that's used for this domain name.
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 hasCertificateValidationRecords() method.
public final CustomDomainAssociationStatus status()
The current state of the domain name association.
If the service returns an enum value that is not available in the current SDK version, status will
return CustomDomainAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
CustomDomainAssociationStatuspublic final String statusAsString()
The current state of the domain name association.
If the service returns an enum value that is not available in the current SDK version, status will
return CustomDomainAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
CustomDomainAssociationStatuspublic CustomDomain.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CustomDomain.Builder,CustomDomain>public static CustomDomain.Builder builder()
public static Class<? extends CustomDomain.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.