@Generated(value="software.amazon.awssdk:codegen") public final class Domain extends Object implements StructuredPojo, ToCopyableBuilder<Domain.Builder,Domain>
Describes a domain where you are storing recordsets in Lightsail.
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ResourceLocation |
location()
The AWS Region and Availability Zones where the domain recordset was created.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the domain.
|
ResourceType |
resourceType()
The resource type.
|
String |
resourceTypeAsString()
The resource type.
|
static Class<? extends Domain.Builder> |
serializableBuilderClass() |
String |
supportCode()
The support code.
|
Domain.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String name()
The name of the domain.
public 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 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 Instant createdAt()
The date when the domain recordset was created.
public ResourceLocation location()
The AWS Region and Availability Zones where the domain recordset was created.
public 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()
.
ResourceType
public 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()
.
ResourceType
public 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.
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 void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.