Package de.maxhenkel.voicechat.api
Interface Group.Builder
- Enclosing interface:
- Group
public static interface Group.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
NOTE: The name might be stripped of special characters and whitespacesetPassword
(String password) setPersistent
(boolean persistent) setType
(Group.Type type)
-
Method Details
-
setName
NOTE: The name might be stripped of special characters and whitespace- Parameters:
name
- the name of the group- Returns:
- the builder
-
setPassword
- Parameters:
password
- the group password- Returns:
- the builder
-
setPersistent
- Parameters:
persistent
- if the group should be persistent- Returns:
- the builder
-
setType
- Parameters:
type
- the group type- Returns:
- the builder
-
build
Group build()- Returns:
- the built group
-