Class ResourceRecord
- java.lang.Object
-
- com.amazonaws.services.route53.model.ResourceRecord
-
- All Implemented Interfaces:
Serializable
,Cloneable
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceRecord()
Default constructor for ResourceRecord object.ResourceRecord(String value)
Constructs a new ResourceRecord object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
ResourceRecord
public ResourceRecord()
Default constructor for ResourceRecord object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
ResourceRecord
public ResourceRecord(String value)
Constructs a new ResourceRecord object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
value
- The current or new DNS record value, not to exceed 4,000 characters. In the case of aDELETE
action, if the current value does not match the actual value, an error is returned. For descriptions about how to formatValue
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
andSOA
.
-
-
Method Detail
-
setValue
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 formatValue
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
andSOA
.- Parameters:
value
- The current or new DNS record value, not to exceed 4,000 characters. In the case of aDELETE
action, if the current value does not match the actual value, an error is returned. For descriptions about how to formatValue
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
andSOA
.
-
getValue
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 formatValue
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
andSOA
.- Returns:
- 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 formatValue
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
andSOA
.
-
withValue
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 formatValue
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
andSOA
.- Parameters:
value
- The current or new DNS record value, not to exceed 4,000 characters. In the case of aDELETE
action, if the current value does not match the actual value, an error is returned. For descriptions about how to formatValue
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
andSOA
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ResourceRecord clone()
-
-