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:
  • Constructor Details

    • 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 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.

  • Method Details

    • 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 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.

      Parameters:
      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.

    • 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 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:
      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.

    • 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 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.

      Parameters:
      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.

      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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ResourceRecord clone()
      Overrides:
      clone in class Object