Package com.dropbox.core.v2.teamlog
Class SfTeamInviteChangeRoleDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.SfTeamInviteChangeRoleDetails.Builder
-
- Enclosing class:
- SfTeamInviteChangeRoleDetails
public static class SfTeamInviteChangeRoleDetails.Builder extends java.lang.ObjectBuilder forSfTeamInviteChangeRoleDetails.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringnewSharingPermissionprotected java.lang.StringoriginalFolderNameprotected java.lang.StringpreviousSharingPermissionprotected longtargetAssetIndex
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder(long targetAssetIndex, java.lang.String originalFolderName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SfTeamInviteChangeRoleDetailsbuild()Builds an instance ofSfTeamInviteChangeRoleDetailsconfigured with this builder's valuesSfTeamInviteChangeRoleDetails.BuilderwithNewSharingPermission(java.lang.String newSharingPermission)Set value for optional field.SfTeamInviteChangeRoleDetails.BuilderwithPreviousSharingPermission(java.lang.String previousSharingPermission)Set value for optional field.
-
-
-
Method Detail
-
withNewSharingPermission
public SfTeamInviteChangeRoleDetails.Builder withNewSharingPermission(java.lang.String newSharingPermission)
Set value for optional field.- Parameters:
newSharingPermission- New sharing permission.- Returns:
- this builder
-
withPreviousSharingPermission
public SfTeamInviteChangeRoleDetails.Builder withPreviousSharingPermission(java.lang.String previousSharingPermission)
Set value for optional field.- Parameters:
previousSharingPermission- Previous sharing permission.- Returns:
- this builder
-
build
public SfTeamInviteChangeRoleDetails build()
Builds an instance ofSfTeamInviteChangeRoleDetailsconfigured with this builder's values- Returns:
- new instance of
SfTeamInviteChangeRoleDetails
-
-