Package com.dropbox.core.v2.teamlog
Class EmailIngestReceiveFileDetails.Builder
java.lang.Object
com.dropbox.core.v2.teamlog.EmailIngestReceiveFileDetails.Builder
- Enclosing class:
EmailIngestReceiveFileDetails
Builder for
EmailIngestReceiveFileDetails.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofEmailIngestReceiveFileDetailsconfigured with this builder's valueswithFromEmail(String fromEmail) Set value for optional field.withFromName(String fromName) Set value for optional field.withSubject(String subject) Set value for optional field.
-
Field Details
-
inboxName
-
attachmentNames
-
subject
-
fromName
-
fromEmail
-
-
Constructor Details
-
Builder
-
-
Method Details
-
withSubject
Set value for optional field.- Parameters:
subject- Subject of the email.- Returns:
- this builder
-
withFromName
Set value for optional field.- Parameters:
fromName- The name as provided by the submitter.- Returns:
- this builder
-
withFromEmail
Set value for optional field.- Parameters:
fromEmail- The email as provided by the submitter. Must have length of at most 255.- Returns:
- this builder
- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
build
Builds an instance ofEmailIngestReceiveFileDetailsconfigured with this builder's values- Returns:
- new instance of
EmailIngestReceiveFileDetails
-