Package com.smartsheet.api.models
Class Group.CreateGroupBuilder
- java.lang.Object
-
- com.smartsheet.api.models.Group.CreateGroupBuilder
-
-
Constructor Summary
Constructors Constructor Description CreateGroupBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Group
build()
Creates a user by using the values from setters in this builder.java.lang.String
getDescription()
java.util.List<GroupMember>
getMembers()
Returns the list of members.java.lang.String
getName()
Returns the name for the group.Group.CreateGroupBuilder
setDescription(java.lang.String description)
Group.CreateGroupBuilder
setMembers(java.util.List<GroupMember> members)
Sets the members for the group being created.Group.CreateGroupBuilder
setName(java.lang.String name)
Sets the name for theGroup
being created.
-
-
-
Method Detail
-
setMembers
public Group.CreateGroupBuilder setMembers(java.util.List<GroupMember> members)
Sets the members for the group being created.- Parameters:
members
- TheList
ofGroup
s to add as members of this group.- Returns:
- the creates the builder
-
setName
public Group.CreateGroupBuilder setName(java.lang.String name)
Sets the name for theGroup
being created.- Parameters:
name
- The name for theGroup
being created.- Returns:
- the creates the builder
-
getMembers
public java.util.List<GroupMember> getMembers()
Returns the list of members.- Returns:
- the columns
-
getName
public java.lang.String getName()
Returns the name for the group.- Returns:
- the name
-
build
public Group build()
Creates a user by using the values from setters in this builder.- Returns:
- the sheet
-
getDescription
public java.lang.String getDescription()
- Returns:
- the description of the group
-
setDescription
public Group.CreateGroupBuilder setDescription(java.lang.String description)
- Parameters:
description
- the description to set- Returns:
- the builder
-
-