Package com.smartsheet.api.models
Class Share.CreateGroupShareBuilder
- java.lang.Object
-
- com.smartsheet.api.models.Share.CreateGroupShareBuilder
-
- Enclosing class:
- Share
public static class Share.CreateGroupShareBuilder extends java.lang.Object
A convenience class for creating aShare
with the necessary fields to create aShareType.GROUP
Share
. You must set groupId
-
-
Constructor Summary
Constructors Constructor Description CreateGroupShareBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Share
build()
Builds theShare
object.AccessLevel
getAccessLevel()
Gets the access level.java.lang.Long
getGroupId()
Gets the group Id.Share.CreateGroupShareBuilder
setAccessLevel(AccessLevel accessLevel)
Access level for this specific share.Share.CreateGroupShareBuilder
setGroupId(java.lang.Long groupId)
Group Id for this share.
-
-
-
Method Detail
-
setAccessLevel
public Share.CreateGroupShareBuilder setAccessLevel(AccessLevel accessLevel)
Access level for this specific share.- Parameters:
accessLevel
- the access level- Returns:
- the group share builder
-
setGroupId
public Share.CreateGroupShareBuilder setGroupId(java.lang.Long groupId)
Group Id for this share.- Parameters:
groupId
- the group Id.- Returns:
- the group share builder
-
getAccessLevel
public AccessLevel getAccessLevel()
Gets the access level.- Returns:
- the access level
-
getGroupId
public java.lang.Long getGroupId()
Gets the group Id.- Returns:
- the group Id
-
-