@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Domain extends Object implements Serializable, Cloneable, StructuredPojo
Describes a domain where you are storing recordsets in Lightsail.
Constructor and Description |
---|
Domain() |
Modifier and Type | Method and Description |
---|---|
Domain |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the domain recordset (e.g.,
arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE ). |
Date |
getCreatedAt()
The date when the domain recordset was created.
|
List<DomainEntry> |
getDomainEntries()
An array of key-value pairs containing information about the domain entries.
|
ResourceLocation |
getLocation()
The AWS Region and Availability Zones where the domain recordset was created.
|
String |
getName()
The name of the domain.
|
String |
getResourceType()
The resource type.
|
String |
getSupportCode()
The support code.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the domain recordset (e.g.,
arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE ). |
void |
setCreatedAt(Date createdAt)
The date when the domain recordset was created.
|
void |
setDomainEntries(Collection<DomainEntry> domainEntries)
An array of key-value pairs containing information about the domain entries.
|
void |
setLocation(ResourceLocation location)
The AWS Region and Availability Zones where the domain recordset was created.
|
void |
setName(String name)
The name of the domain.
|
void |
setResourceType(ResourceType resourceType)
The resource type.
|
void |
setResourceType(String resourceType)
The resource type.
|
void |
setSupportCode(String supportCode)
The support code.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Domain |
withArn(String arn)
The Amazon Resource Name (ARN) of the domain recordset (e.g.,
arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE ). |
Domain |
withCreatedAt(Date createdAt)
The date when the domain recordset was created.
|
Domain |
withDomainEntries(Collection<DomainEntry> domainEntries)
An array of key-value pairs containing information about the domain entries.
|
Domain |
withDomainEntries(DomainEntry... domainEntries)
An array of key-value pairs containing information about the domain entries.
|
Domain |
withLocation(ResourceLocation location)
The AWS Region and Availability Zones where the domain recordset was created.
|
Domain |
withName(String name)
The name of the domain.
|
Domain |
withResourceType(ResourceType resourceType)
The resource type.
|
Domain |
withResourceType(String resourceType)
The resource type.
|
Domain |
withSupportCode(String supportCode)
The support code.
|
public void setName(String name)
The name of the domain.
name
- The name of the domain.public String getName()
The name of the domain.
public Domain withName(String name)
The name of the domain.
name
- The name of the domain.public void setArn(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
- The Amazon Resource Name (ARN) of the domain recordset (e.g.,
arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE
).public String getArn()
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 Domain withArn(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
- The Amazon Resource Name (ARN) of the domain recordset (e.g.,
arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE
).public void setSupportCode(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.
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 String getSupportCode()
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 Domain withSupportCode(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.
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 void setCreatedAt(Date createdAt)
The date when the domain recordset was created.
createdAt
- The date when the domain recordset was created.public Date getCreatedAt()
The date when the domain recordset was created.
public Domain withCreatedAt(Date createdAt)
The date when the domain recordset was created.
createdAt
- The date when the domain recordset was created.public void setLocation(ResourceLocation location)
The AWS Region and Availability Zones where the domain recordset was created.
location
- The AWS Region and Availability Zones where the domain recordset was created.public ResourceLocation getLocation()
The AWS Region and Availability Zones where the domain recordset was created.
public Domain withLocation(ResourceLocation location)
The AWS Region and Availability Zones where the domain recordset was created.
location
- The AWS Region and Availability Zones where the domain recordset was created.public void setResourceType(String resourceType)
The resource type.
resourceType
- The resource type.ResourceType
public String getResourceType()
The resource type.
ResourceType
public Domain withResourceType(String resourceType)
The resource type.
resourceType
- The resource type.ResourceType
public void setResourceType(ResourceType resourceType)
The resource type.
resourceType
- The resource type.ResourceType
public Domain withResourceType(ResourceType resourceType)
The resource type.
resourceType
- The resource type.ResourceType
public List<DomainEntry> getDomainEntries()
An array of key-value pairs containing information about the domain entries.
public void setDomainEntries(Collection<DomainEntry> domainEntries)
An array of key-value pairs containing information about the domain entries.
domainEntries
- An array of key-value pairs containing information about the domain entries.public Domain withDomainEntries(DomainEntry... domainEntries)
An array of key-value pairs containing information about the domain entries.
NOTE: This method appends the values to the existing list (if any). Use
setDomainEntries(java.util.Collection)
or withDomainEntries(java.util.Collection)
if you want
to override the existing values.
domainEntries
- An array of key-value pairs containing information about the domain entries.public Domain withDomainEntries(Collection<DomainEntry> domainEntries)
An array of key-value pairs containing information about the domain entries.
domainEntries
- An array of key-value pairs containing information about the domain entries.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.