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