Package com.dropbox.core.v2.teamlog
Class GroupLogInfo.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.GroupLogInfo.Builder
-
- Enclosing class:
- GroupLogInfo
public static class GroupLogInfo.Builder extends java.lang.Object
Builder forGroupLogInfo
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
displayName
protected java.lang.String
externalId
protected java.lang.String
groupId
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(java.lang.String displayName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupLogInfo
build()
Builds an instance ofGroupLogInfo
configured with this builder's valuesGroupLogInfo.Builder
withExternalId(java.lang.String externalId)
Set value for optional field.GroupLogInfo.Builder
withGroupId(java.lang.String groupId)
Set value for optional field.
-
-
-
Method Detail
-
withGroupId
public GroupLogInfo.Builder withGroupId(java.lang.String groupId)
Set value for optional field.- Parameters:
groupId
- The unique id of this group.- Returns:
- this builder
-
withExternalId
public GroupLogInfo.Builder withExternalId(java.lang.String externalId)
Set value for optional field.- Parameters:
externalId
- External group ID.- Returns:
- this builder
-
build
public GroupLogInfo build()
Builds an instance ofGroupLogInfo
configured with this builder's values- Returns:
- new instance of
GroupLogInfo
-
-