@Generated(value="software.amazon.awssdk:codegen") public final class Domain extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Domain.Builder,Domain>
Describes a domain where you are storing recordsets.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Domain.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the domain recordset (e.g.,
arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE). |
static Domain.Builder |
builder() |
Instant |
createdAt()
The date when the domain recordset was created.
|
List<DomainEntry> |
domainEntries()
An array of key-value pairs containing information about the domain entries.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDomainEntries()
For responses, this returns true if the service returned a value for the DomainEntries property.
|
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
ResourceLocation |
location()
The AWS Region and Availability Zones where the domain recordset was created.
|
String |
name()
The name of the domain.
|
RegisteredDomainDelegationInfo |
registeredDomainDelegationInfo()
An object that describes the state of the Route 53 domain delegation to a Lightsail DNS zone.
|
ResourceType |
resourceType()
The resource type.
|
String |
resourceTypeAsString()
The resource type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Domain.Builder> |
serializableBuilderClass() |
String |
supportCode()
The support code.
|
List<Tag> |
tags()
The tag keys and optional values for the resource.
|
Domain.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the domain.
public final String arn()
The Amazon Resource Name (ARN) of the domain recordset (e.g.,
arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE).
arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE).public final String supportCode()
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
public final Instant createdAt()
The date when the domain recordset was created.
public final ResourceLocation location()
The AWS Region and Availability Zones where the domain recordset was created.
public final ResourceType resourceType()
The resource type.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
ResourceTypepublic final String resourceTypeAsString()
The resource type.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
resourceTypeAsString().
ResourceTypepublic final boolean hasTags()
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<Tag> tags()
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
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 hasTags() method.
public final boolean hasDomainEntries()
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<DomainEntry> domainEntries()
An array of key-value pairs containing information about the domain entries.
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 hasDomainEntries() method.
public final RegisteredDomainDelegationInfo registeredDomainDelegationInfo()
An object that describes the state of the Route 53 domain delegation to a Lightsail DNS zone.
public Domain.Builder toBuilder()
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)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.