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