Interface Group.Builder

Enclosing interface:
Group

public static interface Group.Builder
  • Method Details

    • setName

      Group.Builder setName(String name)
      NOTE: The name might be stripped of special characters and whitespace
      Parameters:
      name - the name of the group
      Returns:
      the builder
    • setPassword

      Group.Builder setPassword(@Nullable String password)
      Parameters:
      password - the group password
      Returns:
      the builder
    • setPersistent

      Group.Builder setPersistent(boolean persistent)
      Parameters:
      persistent - if the group should be persistent
      Returns:
      the builder
    • setType

      Group.Builder setType(Group.Type type)
      Parameters:
      type - the group type
      Returns:
      the builder
    • build

      Group build()
      Returns:
      the built group