Class GroupsCreateRequest.GroupsCreateRequestBuilder
- java.lang.Object
-
- com.slack.api.methods.request.groups.GroupsCreateRequest.GroupsCreateRequestBuilder
-
- Enclosing class:
- GroupsCreateRequest
public static class GroupsCreateRequest.GroupsCreateRequestBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupsCreateRequestbuild()GroupsCreateRequest.GroupsCreateRequestBuildername(String name)Name of private channel to createGroupsCreateRequest.GroupsCreateRequestBuildertoken(String token)Authentication token.StringtoString()GroupsCreateRequest.GroupsCreateRequestBuildervalidate(boolean validate)Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.
-
-
-
Method Detail
-
token
public GroupsCreateRequest.GroupsCreateRequestBuilder token(String token)
Authentication token. Requires scope: `groups:write`- Returns:
this.
-
name
public GroupsCreateRequest.GroupsCreateRequestBuilder name(String name)
Name of private channel to create- Returns:
this.
-
validate
public GroupsCreateRequest.GroupsCreateRequestBuilder validate(boolean validate)
Whether to return errors on invalid channel name instead of modifying it to meet the specified criteria.- Returns:
this.
-
build
public GroupsCreateRequest build()
-
-