Package com.dropbox.core.v2.teamlog
Class TeamMemberLogInfo.Builder
java.lang.Object
com.dropbox.core.v2.teamlog.UserLogInfo.Builder
com.dropbox.core.v2.teamlog.TeamMemberLogInfo.Builder
- Enclosing class:
TeamMemberLogInfo
Builder for
TeamMemberLogInfo.-
Field Summary
FieldsFields inherited from class com.dropbox.core.v2.teamlog.UserLogInfo.Builder
accountId, displayName, email -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofTeamMemberLogInfoconfigured with this builder's valueswithAccountId(String accountId) Set value for optional field.withDisplayName(String displayName) Set value for optional field.Set value for optional field.withMemberExternalId(String memberExternalId) Set value for optional field.withTeam(TeamLogInfo team) Set value for optional field.withTeamMemberId(String teamMemberId) Set value for optional field.
-
Field Details
-
teamMemberId
-
memberExternalId
-
team
-
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
withTeamMemberId
Set value for optional field.- Parameters:
teamMemberId- Team member ID.- Returns:
- this builder
-
withMemberExternalId
Set value for optional field.- Parameters:
memberExternalId- Team member external ID. Must have length of at most 64.- Returns:
- this builder
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
withTeam
Set value for optional field.- Parameters:
team- Details about this user’s team for enterprise event.- Returns:
- this builder
-
withAccountId
Set value for optional field.- Overrides:
withAccountIdin classUserLogInfo.Builder- Parameters:
accountId- User unique ID. Must have length of at least 40 and have length of at most 40.- Returns:
- this builder
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
withDisplayName
Set value for optional field.- Overrides:
withDisplayNamein classUserLogInfo.Builder- Parameters:
displayName- User display name.- Returns:
- this builder
-
withEmail
Set value for optional field.- Overrides:
withEmailin classUserLogInfo.Builder- Parameters:
email- User email address. Must have length of at most 255.- Returns:
- this builder
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
build
Builds an instance ofTeamMemberLogInfoconfigured with this builder's values- Overrides:
buildin classUserLogInfo.Builder- Returns:
- new instance of
TeamMemberLogInfo
-