Package com.dropbox.core.v2.teamlog
Class UserLogInfo.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.UserLogInfo.Builder
 
- 
- Direct Known Subclasses:
- NonTeamMemberLogInfo.Builder,- TeamMemberLogInfo.Builder,- TrustedNonTeamMemberLogInfo.Builder
 - Enclosing class:
- UserLogInfo
 
 public static class UserLogInfo.Builder extends java.lang.ObjectBuilder forUserLogInfo.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringaccountIdprotected java.lang.StringdisplayNameprotected java.lang.Stringemail
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UserLogInfobuild()Builds an instance ofUserLogInfoconfigured with this builder's valuesUserLogInfo.BuilderwithAccountId(java.lang.String accountId)Set value for optional field.UserLogInfo.BuilderwithDisplayName(java.lang.String displayName)Set value for optional field.UserLogInfo.BuilderwithEmail(java.lang.String email)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withAccountIdpublic UserLogInfo.Builder withAccountId(java.lang.String accountId) Set value for optional field.- Parameters:
- accountId- User unique ID. Must have length of at least 40 and have length of at most 40.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
withDisplayNamepublic UserLogInfo.Builder withDisplayName(java.lang.String displayName) Set value for optional field.- Parameters:
- displayName- User display name.
- Returns:
- this builder
 
 - 
withEmailpublic UserLogInfo.Builder withEmail(java.lang.String email) Set value for optional field.- Parameters:
- email- User email address. Must have length of at most 255.
- Returns:
- this builder
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
buildpublic UserLogInfo build() Builds an instance ofUserLogInfoconfigured with this builder's values- Returns:
- new instance of UserLogInfo
 
 
- 
 
-