Interface ByteContentFile.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ByteContentFile.Builder,ByteContentFile>
,SdkBuilder<ByteContentFile.Builder,ByteContentFile>
,SdkPojo
- Enclosing class:
- ByteContentFile
public static interface ByteContentFile.Builder extends SdkPojo, CopyableBuilder<ByteContentFile.Builder,ByteContentFile>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteContentFile.Builder
data(SdkBytes data)
The raw bytes of the file to attach.ByteContentFile.Builder
mediaType(String mediaType)
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 Detail
-
data
ByteContentFile.Builder data(SdkBytes 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
ByteContentFile.Builder mediaType(String 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.
-
-