Class CustomDomain
- java.lang.Object
-
- software.amazon.awssdk.services.apprunner.model.CustomDomain
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CustomDomain.Builder,CustomDomain>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCustomDomain.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomDomain.Builderbuilder()List<CertificateValidationRecord>certificateValidationRecords()A list of certificate CNAME records that's used for this domain name.StringdomainName()An associated custom domain endpoint.BooleanenableWWWSubdomain()Whentrue, the subdomainwww.DomainNameis associated with the App Runner service in addition to the base domain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasCertificateValidationRecords()For responses, this returns true if the service returned a value for the CertificateValidationRecords property.inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CustomDomain.Builder>serializableBuilderClass()CustomDomainAssociationStatusstatus()The current state of the domain name association.StringstatusAsString()The current state of the domain name association.CustomDomain.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
domainName
public final String domainName()
An associated custom domain endpoint. It can be a root domain (for example,
example.com), a subdomain (for example,login.example.comoradmin.login.example.com), or a wildcard (for example,*.example.com).- Returns:
- An associated custom domain endpoint. It can be a root domain (for example,
example.com), a subdomain (for example,login.example.comoradmin.login.example.com), or a wildcard (for example,*.example.com).
-
enableWWWSubdomain
public final Boolean enableWWWSubdomain()
When
true, the subdomainwww.DomainNameis associated with the App Runner service in addition to the base domain.- Returns:
- When
true, the subdomainwww.DomainNameis associated with the App Runner service in addition to the base domain.
-
hasCertificateValidationRecords
public final boolean hasCertificateValidationRecords()
For responses, this returns true if the service returned a value for the CertificateValidationRecords property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
certificateValidationRecords
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.- Returns:
- A list of certificate CNAME records that's used for this domain name.
-
status
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,
statuswill returnCustomDomainAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current state of the domain name association.
- See Also:
CustomDomainAssociationStatus
-
statusAsString
public 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,
statuswill returnCustomDomainAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current state of the domain name association.
- See Also:
CustomDomainAssociationStatus
-
toBuilder
public CustomDomain.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CustomDomain.Builder,CustomDomain>
-
builder
public static CustomDomain.Builder builder()
-
serializableBuilderClass
public static Class<? extends CustomDomain.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-