Class DefaultFiles
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.FilePart
-
- software.amazon.awssdk.services.bedrockagentruntime.model.responsestream.DefaultFiles
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ResponseStream
,ToCopyableBuilder<FilePart.Builder,FilePart>
@Generated("software.amazon.awssdk:codegen") public final class DefaultFiles extends FilePart
A specialization ofsoftware.amazon.awssdk.services.bedrockagentruntime.model.FilePart
that represents theResponseStream$files
event. Do not use this class directly. Instead, use the static builder methods onResponseStream
.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DefaultFiles.Builder
-
Nested classes/interfaces inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.ResponseStream
ResponseStream.EventType
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.ResponseStream
UNKNOWN
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(InvokeAgentResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofFilePart
.static DefaultFiles.Builder
builder()
ResponseStream.EventType
sdkEventType()
The type of this event.DefaultFiles.Builder
toBuilder()
-
Methods inherited from class software.amazon.awssdk.services.bedrockagentruntime.model.FilePart
copy, equals, equalsBySdkFields, files, getValueForField, hasFiles, hashCode, sdkFieldNameToField, sdkFields, serializableBuilderClass, toString
-
-
-
-
Method Detail
-
toBuilder
public DefaultFiles.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<FilePart.Builder,FilePart>
- Overrides:
toBuilder
in classFilePart
-
builder
public static DefaultFiles.Builder builder()
-
accept
public void accept(InvokeAgentResponseHandler.Visitor visitor)
Description copied from class:FilePart
Calls the appropriate visit method depending on the subtype ofFilePart
.- Specified by:
accept
in interfaceResponseStream
- Overrides:
accept
in classFilePart
- Parameters:
visitor
- Visitor to invoke.
-
sdkEventType
public ResponseStream.EventType sdkEventType()
Description copied from interface:ResponseStream
The type of this event. Corresponds to the:event-type
header on the Message.
-
-