@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DomainValidationRecord extends Object implements Serializable, Cloneable, StructuredPojo
Describes the domain validation records of an Amazon Lightsail SSL/TLS certificate.
Constructor and Description |
---|
DomainValidationRecord() |
Modifier and Type | Method and Description |
---|---|
DomainValidationRecord |
clone() |
boolean |
equals(Object obj) |
String |
getDomainName()
The domain name of the certificate validation record.
|
ResourceRecord |
getResourceRecord()
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDomainName(String domainName)
The domain name of the certificate validation record.
|
void |
setResourceRecord(ResourceRecord resourceRecord)
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
|
String |
toString()
Returns a string representation of this object.
|
DomainValidationRecord |
withDomainName(String domainName)
The domain name of the certificate validation record.
|
DomainValidationRecord |
withResourceRecord(ResourceRecord resourceRecord)
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
|
public void setDomainName(String domainName)
The domain name of the certificate validation record. For example, example.com
or
www.example.com
.
domainName
- The domain name of the certificate validation record. For example, example.com
or
www.example.com
.public String getDomainName()
The domain name of the certificate validation record. For example, example.com
or
www.example.com
.
example.com
or
www.example.com
.public DomainValidationRecord withDomainName(String domainName)
The domain name of the certificate validation record. For example, example.com
or
www.example.com
.
domainName
- The domain name of the certificate validation record. For example, example.com
or
www.example.com
.public void setResourceRecord(ResourceRecord resourceRecord)
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
resourceRecord
- An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.public ResourceRecord getResourceRecord()
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
public DomainValidationRecord withResourceRecord(ResourceRecord resourceRecord)
An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.
resourceRecord
- An object that describes the DNS records to add to your domain's DNS to validate it for the certificate.public String toString()
toString
in class Object
Object.toString()
public DomainValidationRecord clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.