@Generated(value="software.amazon.awssdk:codegen") public final class Domain extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Domain.Builder,Domain>
The domain to associate with an Amazon WorkMail organization.
When you configure a domain hosted in Amazon Route 53 (Route 53), all recommended DNS records are added to the organization when you create it. For more information, see Adding a domain in the Amazon WorkMail Administrator Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
Domain.Builder |
Modifier and Type | Method and Description |
---|---|
static Domain.Builder |
builder() |
String |
domainName()
The fully qualified domain name.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hostedZoneId()
The hosted zone ID for a domain hosted in Route 53.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Domain.Builder> |
serializableBuilderClass() |
Domain.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String domainName()
The fully qualified domain name.
public final String hostedZoneId()
The hosted zone ID for a domain hosted in Route 53. Required when configuring a domain hosted in Route 53.
public Domain.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Domain.Builder,Domain>
public static Domain.Builder builder()
public static Class<? extends Domain.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.