Package com.dropbox.core.v2.teamlog
Class SfExternalInviteWarnDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.SfExternalInviteWarnDetails.Builder
-
- Enclosing class:
- SfExternalInviteWarnDetails
public static class SfExternalInviteWarnDetails.Builder extends java.lang.Object
Builder forSfExternalInviteWarnDetails
.
-
-
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 SfExternalInviteWarnDetails
build()
Builds an instance ofSfExternalInviteWarnDetails
configured with this builder's valuesSfExternalInviteWarnDetails.Builder
withNewSharingPermission(java.lang.String newSharingPermission)
Set value for optional field.SfExternalInviteWarnDetails.Builder
withPreviousSharingPermission(java.lang.String previousSharingPermission)
Set value for optional field.
-
-
-
Method Detail
-
withNewSharingPermission
public SfExternalInviteWarnDetails.Builder withNewSharingPermission(java.lang.String newSharingPermission)
Set value for optional field.- Parameters:
newSharingPermission
- New sharing permission. Might be missing due to historical data gap.- Returns:
- this builder
-
withPreviousSharingPermission
public SfExternalInviteWarnDetails.Builder withPreviousSharingPermission(java.lang.String previousSharingPermission)
Set value for optional field.- Parameters:
previousSharingPermission
- Previous sharing permission. Might be missing due to historical data gap.- Returns:
- this builder
-
build
public SfExternalInviteWarnDetails build()
Builds an instance ofSfExternalInviteWarnDetails
configured with this builder's values- Returns:
- new instance of
SfExternalInviteWarnDetails
-
-