public static class NonTeamMemberLogInfo.Builder extends UserLogInfo.Builder
NonTeamMemberLogInfo
.accountId, displayName, email
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
Modifier and Type | Method and Description |
---|---|
NonTeamMemberLogInfo |
build()
Builds an instance of
NonTeamMemberLogInfo configured with
this builder's values |
NonTeamMemberLogInfo.Builder |
withAccountId(java.lang.String accountId)
Set value for optional field.
|
NonTeamMemberLogInfo.Builder |
withDisplayName(java.lang.String displayName)
Set value for optional field.
|
NonTeamMemberLogInfo.Builder |
withEmail(java.lang.String email)
Set value for optional field.
|
public NonTeamMemberLogInfo.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 NonTeamMemberLogInfo.Builder withDisplayName(java.lang.String displayName)
withDisplayName
in class UserLogInfo.Builder
displayName
- User display name. Might be missing due to
historical data gap.public NonTeamMemberLogInfo.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 NonTeamMemberLogInfo build()
NonTeamMemberLogInfo
configured with
this builder's valuesbuild
in class UserLogInfo.Builder
NonTeamMemberLogInfo