Class ZoneRecordOptions


  • public class ZoneRecordOptions
    extends java.lang.Object
    • Method Detail

      • of

        public static ZoneRecordOptions of​(java.lang.String name,
                                           java.lang.String type,
                                           java.lang.String content)
        Parameters:
        name - the name of the record. Use an empty string to create a record for the apex.
        type - the type of the record
        content - the content of the record
      • asPayload

        public java.util.Map<java.lang.String,​java.lang.Object> asPayload()
        Returns:
        a map with this object's attributes and prunes the `regions` attribute if it's empty