public static class TeamMemberLogInfo.Builder extends UserLogInfo.Builder
TeamMemberLogInfo
.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
memberExternalId |
protected TeamLogInfo |
team |
protected java.lang.String |
teamMemberId |
accountId, displayName, email
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
TeamMemberLogInfo |
build()
Builds an instance of
TeamMemberLogInfo configured with this
builder's values |
TeamMemberLogInfo.Builder |
withAccountId(java.lang.String accountId)
Set value for optional field.
|
TeamMemberLogInfo.Builder |
withDisplayName(java.lang.String displayName)
Set value for optional field.
|
TeamMemberLogInfo.Builder |
withEmail(java.lang.String email)
Set value for optional field.
|
TeamMemberLogInfo.Builder |
withMemberExternalId(java.lang.String memberExternalId)
Set value for optional field.
|
TeamMemberLogInfo.Builder |
withTeam(TeamLogInfo team)
Set value for optional field.
|
TeamMemberLogInfo.Builder |
withTeamMemberId(java.lang.String teamMemberId)
Set value for optional field.
|
protected java.lang.String teamMemberId
protected java.lang.String memberExternalId
protected TeamLogInfo team
public TeamMemberLogInfo.Builder withTeamMemberId(java.lang.String teamMemberId)
teamMemberId
- Team member ID. Might be missing due to
historical data gap.public TeamMemberLogInfo.Builder withMemberExternalId(java.lang.String memberExternalId)
memberExternalId
- Team member external ID. Must have length of
at most 64.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public TeamMemberLogInfo.Builder withTeam(TeamLogInfo team)
team
- Details about this user’s team for enterprise
event.public TeamMemberLogInfo.Builder withAccountId(java.lang.String accountId)
withAccountId
in class UserLogInfo.Builder
accountId
- User unique ID. Might be missing due to historical
data gap. Must have length of at least 40 and have length of at
most 40.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public TeamMemberLogInfo.Builder withDisplayName(java.lang.String displayName)
withDisplayName
in class UserLogInfo.Builder
displayName
- User display name. Might be missing due to
historical data gap.public TeamMemberLogInfo.Builder withEmail(java.lang.String email)
withEmail
in class UserLogInfo.Builder
email
- User email address. Might be missing due to historical
data gap. Must have length of at most 255.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public TeamMemberLogInfo build()
TeamMemberLogInfo
configured with this
builder's valuesbuild
in class UserLogInfo.Builder
TeamMemberLogInfo