Class MXData

  • All Implemented Interfaces:
    Map<String,​Object>

    public class MXData
    extends com.google.common.collect.ForwardingMap<String,​Object>
    Corresponds to the binary representation of the MX (Mail Exchange) RData

    Example

     import static org.jclouds.dynect.v3.domain.rdata.MXData.mx;
     ...
     MXData rdata = mx(1, "mail.jclouds.org");
     
    See Also:
    RFC 1035
    • Method Detail

      • getPreference

        public int getPreference()
        specifies the preference given to this RR among others at the same owner. Lower values are preferred.
      • getExchange

        public String getExchange()
        domain-name which specifies a host willing to act as a mail exchange for the owner name.
      • delegate

        protected Map<String,​Object> delegate()
        Specified by:
        delegate in class com.google.common.collect.ForwardingMap<String,​Object>
      • mx

        public static MXData mx​(int preference,
                                String exchange)