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.Object
Builder forSfTeamInviteChangeRoleDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
newSharingPermission
protected java.lang.String
originalFolderName
protected java.lang.String
previousSharingPermission
protected long
targetAssetIndex
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(long targetAssetIndex, java.lang.String originalFolderName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SfTeamInviteChangeRoleDetails
build()
Builds an instance ofSfTeamInviteChangeRoleDetails
configured with this builder's valuesSfTeamInviteChangeRoleDetails.Builder
withNewSharingPermission(java.lang.String newSharingPermission)
Set value for optional field.SfTeamInviteChangeRoleDetails.Builder
withPreviousSharingPermission(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 ofSfTeamInviteChangeRoleDetails
configured with this builder's values- Returns:
- new instance of
SfTeamInviteChangeRoleDetails
-
-