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 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 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
.
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()
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(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 String toString()
toString
in class Object
Object.toString()
public ResourceRecord clone()
Copyright © 2018. All rights reserved.