Class GroupCreateOpts


  • public final class GroupCreateOpts
    extends java.lang.Object
    Options for group creation.
    • Constructor Detail

      • GroupCreateOpts

        public GroupCreateOpts()
    • Method Detail

      • create

        public static GroupCreateOpts create​(GroupId id,
                                             GroupName name,
                                             boolean addAsMember)
        Parameters:
        id - unique id of a group within a segment. If none, the server will assign an id.
        name - human readable name of the group. Does not need to be unique.
        addAsMember - creating user will (default, true) or will not (false) be added to the group's membership (in addition to being a group admin)
      • delete

        public void delete()
      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable