public class ResourceRecord extends Object implements Serializable, Cloneable
A complex type that contains the value of the Value
element for the current resource record set.
| Constructor and Description |
|---|
ResourceRecord()
Default constructor for a new 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; useful for testing and
debugging.
|
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.
public String getValue()
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.
Constraints:
Length: 0 - 4000
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.
public void setValue(String 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.
Constraints:
Length: 0 - 4000
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.
public ResourceRecord withValue(String 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 4000
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.
public String toString()
toString in class ObjectObject.toString()public ResourceRecord clone()
Copyright © 2015. All rights reserved.