public class AttachmentBaseBuilder extends Object
Constructor and Description |
---|
AttachmentBaseBuilder(AttachmentBase model) |
Modifier and Type | Method and Description |
---|---|
AttachmentBaseBuilder |
base64Data(String base64Data)
Set AttachmentBase.base64Data and return builder.
|
AttachmentBase |
build()
Build AttachmentBase instance.
|
AttachmentBaseBuilder |
contentId(String contentId)
Set AttachmentBase.contentId and return builder.
|
AttachmentBaseBuilder |
contentType(ContentType contentType)
Set AttachmentBase.contentType and return builder.
|
AttachmentBaseBuilder |
headers(Map<String,String> headers)
Set AttachmentBase.headers and return builder.
|
public AttachmentBaseBuilder(AttachmentBase model)
public AttachmentBase build()
public AttachmentBaseBuilder base64Data(String base64Data)
base64Data
- Attachment file content as Base64 string.public AttachmentBaseBuilder contentId(String contentId)
contentId
- Attachment content idpublic AttachmentBaseBuilder contentType(ContentType contentType)
contentType
- Content typepublic AttachmentBaseBuilder headers(Map<String,String> headers)
headers
- Attachment headers.Copyright © 2020. All rights reserved.