Class ResourceRecord

    • 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 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 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 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object