@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceRecord extends Object implements Serializable, Cloneable, StructuredPojo
Describes the domain name system (DNS) records to add to your domain's DNS to validate it for an Amazon Lightsail certificate.
| Constructor and Description |
|---|
ResourceRecord() |
| Modifier and Type | Method and Description |
|---|---|
ResourceRecord |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the record.
|
String |
getType()
The DNS record type.
|
String |
getValue()
The value for the DNS record.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the record.
|
void |
setType(String type)
The DNS record type.
|
void |
setValue(String value)
The value for the DNS record.
|
String |
toString()
Returns a string representation of this object.
|
ResourceRecord |
withName(String name)
The name of the record.
|
ResourceRecord |
withType(String type)
The DNS record type.
|
ResourceRecord |
withValue(String value)
The value for the DNS record.
|
public void setName(String name)
The name of the record.
name - The name of the record.public String getName()
The name of the record.
public ResourceRecord withName(String name)
The name of the record.
name - The name of the record.public void setType(String type)
The DNS record type.
type - The DNS record type.public String getType()
The DNS record type.
public ResourceRecord withType(String type)
The DNS record type.
type - The DNS record type.public void setValue(String value)
The value for the DNS record.
value - The value for the DNS record.public String getValue()
The value for the DNS record.
public ResourceRecord withValue(String value)
The value for the DNS record.
value - The value for the DNS record.public String toString()
toString in class ObjectObject.toString()public ResourceRecord clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.