public static interface Attachment.Builder extends CopyableBuilder<Attachment.Builder,Attachment>
Modifier and Type | Method and Description |
---|---|
Attachment.Builder |
data(ByteBuffer data)
The content of the attachment file.
|
Attachment.Builder |
fileName(String fileName)
The name of the attachment file.
|
copy
apply, build
Attachment.Builder fileName(String fileName)
The name of the attachment file.
fileName
- The name of the attachment file.Attachment.Builder data(ByteBuffer data)
The content of the attachment file.
To preserve immutability, the remaining bytes in the provided buffer will be copied into a new buffer when set.
data
- The content of the attachment file.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.