public static class GroupCreateDetails.Builder
extends java.lang.Object
GroupCreateDetails
.Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
isCompanyManaged |
protected GroupJoinPolicy |
joinPolicy |
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
GroupCreateDetails |
build()
Builds an instance of
GroupCreateDetails configured with this
builder's values |
GroupCreateDetails.Builder |
withIsCompanyManaged(java.lang.Boolean isCompanyManaged)
Set value for optional field.
|
GroupCreateDetails.Builder |
withJoinPolicy(GroupJoinPolicy joinPolicy)
Set value for optional field.
|
protected java.lang.Boolean isCompanyManaged
protected GroupJoinPolicy joinPolicy
public GroupCreateDetails.Builder withIsCompanyManaged(java.lang.Boolean isCompanyManaged)
isCompanyManaged
- Is company managed group. Might be missing
due to historical data gap.public GroupCreateDetails.Builder withJoinPolicy(GroupJoinPolicy joinPolicy)
joinPolicy
- Group join policy.public GroupCreateDetails build()
GroupCreateDetails
configured with this
builder's valuesGroupCreateDetails