Package com.dropbox.core.v2.sharing
Class FileMemberActionResult.Builder
- java.lang.Object
-
- com.dropbox.core.v2.sharing.FileMemberActionResult.Builder
-
- Enclosing class:
- FileMemberActionResult
public static class FileMemberActionResult.Builder extends java.lang.Object
Builder forFileMemberActionResult
.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>
invitationSignature
protected MemberSelector
member
protected FileMemberActionIndividualResult
result
protected java.lang.String
sckeySha1
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder(MemberSelector member, FileMemberActionIndividualResult result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileMemberActionResult
build()
Builds an instance ofFileMemberActionResult
configured with this builder's valuesFileMemberActionResult.Builder
withInvitationSignature(java.util.List<java.lang.String> invitationSignature)
Set value for optional field.FileMemberActionResult.Builder
withSckeySha1(java.lang.String sckeySha1)
Set value for optional field.
-
-
-
Field Detail
-
member
protected final MemberSelector member
-
result
protected final FileMemberActionIndividualResult result
-
sckeySha1
protected java.lang.String sckeySha1
-
invitationSignature
protected java.util.List<java.lang.String> invitationSignature
-
-
Constructor Detail
-
Builder
protected Builder(MemberSelector member, FileMemberActionIndividualResult result)
-
-
Method Detail
-
withSckeySha1
public FileMemberActionResult.Builder withSckeySha1(java.lang.String sckeySha1)
Set value for optional field.- Parameters:
sckeySha1
- The SHA-1 encrypted shared content key.- Returns:
- this builder
-
withInvitationSignature
public FileMemberActionResult.Builder withInvitationSignature(java.util.List<java.lang.String> invitationSignature)
Set value for optional field.- Parameters:
invitationSignature
- The sharing sender-recipient invitation signatures for the input member_id. A member_id can be a group and thus have multiple users and multiple invitation signatures. Must not contain anull
item.- Returns:
- this builder
- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
build
public FileMemberActionResult build()
Builds an instance ofFileMemberActionResult
configured with this builder's values- Returns:
- new instance of
FileMemberActionResult
-
-