Package com.dropbox.core.v2.teamlog
Class MemberChangeStatusDetails.Builder
java.lang.Object
com.dropbox.core.v2.teamlog.MemberChangeStatusDetails.Builder
- Enclosing class:
MemberChangeStatusDetails
Builder for
MemberChangeStatusDetails.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ActionDetailsprotected Stringprotected final MemberStatusprotected Stringprotected MemberStatus -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofMemberChangeStatusDetailsconfigured with this builder's valueswithAction(ActionDetails action) Set value for optional field.withNewTeam(String newTeam) Set value for optional field.withPreviousTeam(String previousTeam) Set value for optional field.withPreviousValue(MemberStatus previousValue) Set value for optional field.
-
Field Details
-
newValue
-
previousValue
-
action
-
newTeam
-
previousTeam
-
-
Constructor Details
-
Builder
-
-
Method Details
-
withPreviousValue
Set value for optional field.- Parameters:
previousValue- Previous member status. Might be missing due to historical data gap.- Returns:
- this builder
-
withAction
Set value for optional field.- Parameters:
action- Additional information indicating the action taken that caused status change.- Returns:
- this builder
-
withNewTeam
Set value for optional field.- Parameters:
newTeam- The user's new team name. This field is relevant when the user is transferred off the team.- Returns:
- this builder
-
withPreviousTeam
Set value for optional field.- Parameters:
previousTeam- The user's previous team name. This field is relevant when the user is transferred onto the team.- Returns:
- this builder
-
build
Builds an instance ofMemberChangeStatusDetailsconfigured with this builder's values- Returns:
- new instance of
MemberChangeStatusDetails
-