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
Valueelement 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 ResourceRecordclone()booleanequals(Object obj)StringgetValue()The current or new DNS record value, not to exceed 4,000 characters.inthashCode()voidsetValue(String value)The current or new DNS record value, not to exceed 4,000 characters.StringtoString()Returns a string representation of this object; useful for testing and debugging.ResourceRecordwithValue(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 aDELETEaction, if the current value does not match the actual value, an error is returned. For descriptions about how to formatValuefor 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
CNAMEandSOA.
-
-
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
DELETEaction, if the current value does not match the actual value, an error is returned. For descriptions about how to formatValuefor 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
CNAMEandSOA.- Parameters:
value- The current or new DNS record value, not to exceed 4,000 characters. In the case of aDELETEaction, if the current value does not match the actual value, an error is returned. For descriptions about how to formatValuefor 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
CNAMEandSOA.
-
getValue
public String getValue()
The current or new DNS record value, not to exceed 4,000 characters. In the case of a
DELETEaction, if the current value does not match the actual value, an error is returned. For descriptions about how to formatValuefor 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
CNAMEandSOA.- Returns:
- The current or new DNS record value, not to exceed 4,000
characters. In the case of a
DELETEaction, if the current value does not match the actual value, an error is returned. For descriptions about how to formatValuefor 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
CNAMEandSOA.
-
withValue
public ResourceRecord withValue(String value)
The current or new DNS record value, not to exceed 4,000 characters. In the case of a
DELETEaction, if the current value does not match the actual value, an error is returned. For descriptions about how to formatValuefor 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
CNAMEandSOA.- Parameters:
value- The current or new DNS record value, not to exceed 4,000 characters. In the case of aDELETEaction, if the current value does not match the actual value, an error is returned. For descriptions about how to formatValuefor 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
CNAMEandSOA.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ResourceRecord clone()
-
-