Class ByteContentDoc
java.lang.Object
software.amazon.awssdk.services.bedrockagentruntime.model.ByteContentDoc
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ByteContentDoc.Builder,ByteContentDoc>
@Generated("software.amazon.awssdk:codegen")
public final class ByteContentDoc
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<ByteContentDoc.Builder,ByteContentDoc>
This property contains the document to chat with, along with its attributes.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ByteContentDoc.Builderbuilder()final StringThe MIME type of the document contained in the wrapper object.final SdkBytesdata()The byte value of the file to upload, encoded as a Base-64 string.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe file name of the document contained in the wrapper object.static Class<? extends ByteContentDoc.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
contentType
The MIME type of the document contained in the wrapper object.
- Returns:
- The MIME type of the document contained in the wrapper object.
-
data
The byte value of the file to upload, encoded as a Base-64 string.
- Returns:
- The byte value of the file to upload, encoded as a Base-64 string.
-
identifier
The file name of the document contained in the wrapper object.
- Returns:
- The file name of the document contained in the wrapper object.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ByteContentDoc.Builder,ByteContentDoc>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-