public class ResourceRecord
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
A complex type that contains the value of the Value
element for
the current resource record set.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
value
The current or new DNS record value, not to exceed 4,000 characters.
|
Constructor and Description |
---|
ResourceRecord()
Default constructor for ResourceRecord object.
|
ResourceRecord(java.lang.String value)
Constructs a new ResourceRecord object.
|
Modifier and Type | Method and Description |
---|---|
ResourceRecord |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getValue()
The current or new DNS record value, not to exceed 4,000 characters.
|
int |
hashCode() |
void |
setValue(java.lang.String value)
The current or new DNS record value, not to exceed 4,000 characters.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ResourceRecord |
withValue(java.lang.String value)
The current or new DNS record value, not to exceed 4,000 characters.
|
private java.lang.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
.
public ResourceRecord()
public ResourceRecord(java.lang.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 void setValue(java.lang.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
.
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 java.lang.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
.
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(java.lang.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
.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ResourceRecord clone()
clone
in class java.lang.Object