@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceRecord extends Object implements Serializable, Cloneable, StructuredPojo
Contains a DNS record value that you can use to can use to validate ownership or control of a domain. This is used by the DescribeCertificate action.
Constructor and Description |
---|
ResourceRecord() |
Modifier and Type | Method and Description |
---|---|
ResourceRecord |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the DNS record to create in your domain.
|
String |
getType()
The type of DNS record.
|
String |
getValue()
The value of the CNAME record to add to your DNS database.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The name of the DNS record to create in your domain.
|
void |
setType(String type)
The type of DNS record.
|
void |
setValue(String value)
The value of the CNAME record to add to your DNS database.
|
String |
toString()
Returns a string representation of this object.
|
ResourceRecord |
withName(String name)
The name of the DNS record to create in your domain.
|
ResourceRecord |
withType(RecordType type)
The type of DNS record.
|
ResourceRecord |
withType(String type)
The type of DNS record.
|
ResourceRecord |
withValue(String value)
The value of the CNAME record to add to your DNS database.
|
public void setName(String name)
The name of the DNS record to create in your domain. This is supplied by ACM.
name
- The name of the DNS record to create in your domain. This is supplied by ACM.public String getName()
The name of the DNS record to create in your domain. This is supplied by ACM.
public ResourceRecord withName(String name)
The name of the DNS record to create in your domain. This is supplied by ACM.
name
- The name of the DNS record to create in your domain. This is supplied by ACM.public void setType(String type)
The type of DNS record. Currently this can be CNAME
.
type
- The type of DNS record. Currently this can be CNAME
.RecordType
public String getType()
The type of DNS record. Currently this can be CNAME
.
CNAME
.RecordType
public ResourceRecord withType(String type)
The type of DNS record. Currently this can be CNAME
.
type
- The type of DNS record. Currently this can be CNAME
.RecordType
public ResourceRecord withType(RecordType type)
The type of DNS record. Currently this can be CNAME
.
type
- The type of DNS record. Currently this can be CNAME
.RecordType
public void setValue(String value)
The value of the CNAME record to add to your DNS database. This is supplied by ACM.
value
- The value of the CNAME record to add to your DNS database. This is supplied by ACM.public String getValue()
The value of the CNAME record to add to your DNS database. This is supplied by ACM.
public ResourceRecord withValue(String value)
The value of the CNAME record to add to your DNS database. This is supplied by ACM.
value
- The value of the CNAME record to add to your DNS database. This is supplied by ACM.public String toString()
toString
in class Object
Object.toString()
public ResourceRecord clone()
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.