Package com.dropbox.core.v2.teamlog
Class GroupCreateDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.GroupCreateDetails.Builder
-
- Enclosing class:
- GroupCreateDetails
public static class GroupCreateDetails.Builder extends java.lang.Object
Builder forGroupCreateDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Boolean
isCompanyManaged
protected GroupJoinPolicy
joinPolicy
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupCreateDetails
build()
Builds an instance ofGroupCreateDetails
configured with this builder's valuesGroupCreateDetails.Builder
withIsCompanyManaged(java.lang.Boolean isCompanyManaged)
Set value for optional field.GroupCreateDetails.Builder
withJoinPolicy(GroupJoinPolicy joinPolicy)
Set value for optional field.
-
-
-
Field Detail
-
isCompanyManaged
protected java.lang.Boolean isCompanyManaged
-
joinPolicy
protected GroupJoinPolicy joinPolicy
-
-
Method Detail
-
withIsCompanyManaged
public GroupCreateDetails.Builder withIsCompanyManaged(java.lang.Boolean isCompanyManaged)
Set value for optional field.- Parameters:
isCompanyManaged
- Is company managed group.- Returns:
- this builder
-
withJoinPolicy
public GroupCreateDetails.Builder withJoinPolicy(GroupJoinPolicy joinPolicy)
Set value for optional field.- Parameters:
joinPolicy
- Group join policy.- Returns:
- this builder
-
build
public GroupCreateDetails build()
Builds an instance ofGroupCreateDetails
configured with this builder's values- Returns:
- new instance of
GroupCreateDetails
-
-