Interface ByteContentFile.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ByteContentFile.Builder,
,ByteContentFile> SdkBuilder<ByteContentFile.Builder,
,ByteContentFile> SdkPojo
- Enclosing class:
ByteContentFile
@Mutable
@NotThreadSafe
public static interface ByteContentFile.Builder
extends SdkPojo, CopyableBuilder<ByteContentFile.Builder,ByteContentFile>
-
Method Summary
Modifier and TypeMethodDescriptionThe raw bytes of the file to attach.The MIME type of data contained in the file used for chat.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
data
The raw bytes of the file to attach. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files.
- Parameters:
data
- The raw bytes of the file to attach. The maximum size of all files that is attached is 10MB. You can attach a maximum of 5 files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mediaType
The MIME type of data contained in the file used for chat.
- Parameters:
mediaType
- The MIME type of data contained in the file used for chat.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-