@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceRecord extends Object implements Serializable, Cloneable
Information specific to the resource record.
 If you're creating an alias resource record set, omit ResourceRecord.
 
| Constructor and Description | 
|---|
| ResourceRecord()Default constructor for ResourceRecord object. | 
| ResourceRecord(String value)Constructs a new ResourceRecord object. | 
| Modifier and Type | Method and Description | 
|---|---|
| ResourceRecord | clone() | 
| boolean | equals(Object obj) | 
| String | getValue()
 The current or new DNS record value, not to exceed 4,000 characters. | 
| int | hashCode() | 
| void | setValue(String value)
 The current or new DNS record value, not to exceed 4,000 characters. | 
| String | toString()Returns a string representation of this object. | 
| ResourceRecord | withValue(String value)
 The current or new DNS record value, not to exceed 4,000 characters. | 
public ResourceRecord()
public ResourceRecord(String value)
value - The current or new DNS record value, not to exceed 4,000 characters. In the case of a DELETE
        action, if the current value does not match the actual value, an error is returned. For descriptions about
        how to format Value for different record types, see Supported DNS
        Resource Record Types in the Amazon Route 53 Developer Guide.
        
        You can specify more than one value for all record types except CNAME and SOA.
        
        If you're creating an alias resource record set, omit Value.
        
public void setValue(String value)
 The current or new DNS record value, not to exceed 4,000 characters. In the case of a DELETE action,
 if the current value does not match the actual value, an error is returned. For descriptions about how to format
 Value for different record types, see Supported DNS Resource
 Record Types in the Amazon Route 53 Developer Guide.
 
 You can specify more than one value for all record types except CNAME and SOA.
 
 If you're creating an alias resource record set, omit Value.
 
value - The current or new DNS record value, not to exceed 4,000 characters. In the case of a DELETE
        action, if the current value does not match the actual value, an error is returned. For descriptions about
        how to format Value for different record types, see Supported DNS
        Resource Record Types in the Amazon Route 53 Developer Guide.
        
        You can specify more than one value for all record types except CNAME and SOA.
        
        If you're creating an alias resource record set, omit Value.
        
public String getValue()
 The current or new DNS record value, not to exceed 4,000 characters. In the case of a DELETE action,
 if the current value does not match the actual value, an error is returned. For descriptions about how to format
 Value for different record types, see Supported DNS Resource
 Record Types in the Amazon Route 53 Developer Guide.
 
 You can specify more than one value for all record types except CNAME and SOA.
 
 If you're creating an alias resource record set, omit Value.
 
DELETE
         action, if the current value does not match the actual value, an error is returned. For descriptions
         about how to format Value for different record types, see Supported DNS
         Resource Record Types in the Amazon Route 53 Developer Guide.
         
         You can specify more than one value for all record types except CNAME and SOA.
         
         If you're creating an alias resource record set, omit Value.
         
public ResourceRecord withValue(String value)
 The current or new DNS record value, not to exceed 4,000 characters. In the case of a DELETE action,
 if the current value does not match the actual value, an error is returned. For descriptions about how to format
 Value for different record types, see Supported DNS Resource
 Record Types in the Amazon Route 53 Developer Guide.
 
 You can specify more than one value for all record types except CNAME and SOA.
 
 If you're creating an alias resource record set, omit Value.
 
value - The current or new DNS record value, not to exceed 4,000 characters. In the case of a DELETE
        action, if the current value does not match the actual value, an error is returned. For descriptions about
        how to format Value for different record types, see Supported DNS
        Resource Record Types in the Amazon Route 53 Developer Guide.
        
        You can specify more than one value for all record types except CNAME and SOA.
        
        If you're creating an alias resource record set, omit Value.
        
public String toString()
toString in class ObjectObject.toString()public ResourceRecord clone()