Package com.dropbox.core.v2.teamlog
Class NonTeamMemberLogInfo.Builder
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.UserLogInfo.Builder
- 
- com.dropbox.core.v2.teamlog.NonTeamMemberLogInfo.Builder
 
 
- 
- Enclosing class:
- NonTeamMemberLogInfo
 
 public static class NonTeamMemberLogInfo.Builder extends UserLogInfo.Builder Builder forNonTeamMemberLogInfo.
- 
- 
Field Summary- 
Fields inherited from class com.dropbox.core.v2.teamlog.UserLogInfo.BuilderaccountId, displayName, email
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedBuilder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description NonTeamMemberLogInfobuild()Builds an instance ofNonTeamMemberLogInfoconfigured with this builder's valuesNonTeamMemberLogInfo.BuilderwithAccountId(java.lang.String accountId)Set value for optional field.NonTeamMemberLogInfo.BuilderwithDisplayName(java.lang.String displayName)Set value for optional field.NonTeamMemberLogInfo.BuilderwithEmail(java.lang.String email)Set value for optional field.
 
- 
- 
- 
Method Detail- 
withAccountIdpublic NonTeamMemberLogInfo.Builder withAccountId(java.lang.String accountId) Set value for optional field.- Overrides:
- withAccountIdin class- UserLogInfo.Builder
- 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 NonTeamMemberLogInfo.Builder withDisplayName(java.lang.String displayName) Set value for optional field.- Overrides:
- withDisplayNamein class- UserLogInfo.Builder
- Parameters:
- displayName- User display name.
- Returns:
- this builder
 
 - 
withEmailpublic NonTeamMemberLogInfo.Builder withEmail(java.lang.String email) Set value for optional field.- Overrides:
- withEmailin class- UserLogInfo.Builder
- 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 NonTeamMemberLogInfo build() Builds an instance ofNonTeamMemberLogInfoconfigured with this builder's values- Overrides:
- buildin class- UserLogInfo.Builder
- Returns:
- new instance of NonTeamMemberLogInfo
 
 
- 
 
-