Package com.dropbox.core.v2.teamlog
Class PaperDocChangeSharingPolicyDetails.Builder
- java.lang.Object
-
- com.dropbox.core.v2.teamlog.PaperDocChangeSharingPolicyDetails.Builder
-
- Enclosing class:
- PaperDocChangeSharingPolicyDetails
public static class PaperDocChangeSharingPolicyDetails.Builder extends java.lang.Object
Builder forPaperDocChangeSharingPolicyDetails
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
eventUuid
protected java.lang.String
publicSharingPolicy
protected java.lang.String
teamSharingPolicy
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(java.lang.String eventUuid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PaperDocChangeSharingPolicyDetails
build()
Builds an instance ofPaperDocChangeSharingPolicyDetails
configured with this builder's valuesPaperDocChangeSharingPolicyDetails.Builder
withPublicSharingPolicy(java.lang.String publicSharingPolicy)
Set value for optional field.PaperDocChangeSharingPolicyDetails.Builder
withTeamSharingPolicy(java.lang.String teamSharingPolicy)
Set value for optional field.
-
-
-
Method Detail
-
withPublicSharingPolicy
public PaperDocChangeSharingPolicyDetails.Builder withPublicSharingPolicy(java.lang.String publicSharingPolicy)
Set value for optional field.- Parameters:
publicSharingPolicy
- Sharing policy with external users. Might be missing due to historical data gap.- Returns:
- this builder
-
withTeamSharingPolicy
public PaperDocChangeSharingPolicyDetails.Builder withTeamSharingPolicy(java.lang.String teamSharingPolicy)
Set value for optional field.- Parameters:
teamSharingPolicy
- Sharing policy with team. Might be missing due to historical data gap.- Returns:
- this builder
-
build
public PaperDocChangeSharingPolicyDetails build()
Builds an instance ofPaperDocChangeSharingPolicyDetails
configured with this builder's values- Returns:
- new instance of
PaperDocChangeSharingPolicyDetails
-
-