Package software.amazon.awssdk.services.bedrockagentruntime.model.retrieveandgeneratestreamresponseoutput
Class DefaultOutput
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.RetrieveAndGenerateOutputEvent
-
- software.amazon.awssdk.services.bedrockagentruntime.model.retrieveandgeneratestreamresponseoutput.DefaultOutput
-
- All Implemented Interfaces:
Serializable,SdkPojo,RetrieveAndGenerateStreamResponseOutput,ToCopyableBuilder<RetrieveAndGenerateOutputEvent.Builder,RetrieveAndGenerateOutputEvent>
@Generated("software.amazon.awssdk:codegen") public final class DefaultOutput extends RetrieveAndGenerateOutputEvent
A specialization ofsoftware.amazon.awssdk.services.bedrockagentruntime.model.RetrieveAndGenerateOutputEventthat represents theRetrieveAndGenerateStreamResponseOutput$outputevent. Do not use this class directly. Instead, use the static builder methods onRetrieveAndGenerateStreamResponseOutput.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDefaultOutput.Builder-
Nested classes/interfaces inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.RetrieveAndGenerateStreamResponseOutput
RetrieveAndGenerateStreamResponseOutput.EventType
-
-
Field Summary
-
Fields inherited from interface software.amazon.awssdk.services.bedrockagentruntime.model.RetrieveAndGenerateStreamResponseOutput
UNKNOWN
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(RetrieveAndGenerateStreamResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofRetrieveAndGenerateOutputEvent.static DefaultOutput.Builderbuilder()RetrieveAndGenerateStreamResponseOutput.EventTypesdkEventType()The type of this event.DefaultOutput.BuildertoBuilder()-
Methods inherited from class software.amazon.awssdk.services.bedrockagentruntime.model.RetrieveAndGenerateOutputEvent
copy, equals, equalsBySdkFields, getValueForField, hashCode, sdkFieldNameToField, sdkFields, serializableBuilderClass, text, toString
-
-
-
-
Method Detail
-
toBuilder
public DefaultOutput.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RetrieveAndGenerateOutputEvent.Builder,RetrieveAndGenerateOutputEvent>- Overrides:
toBuilderin classRetrieveAndGenerateOutputEvent
-
builder
public static DefaultOutput.Builder builder()
-
accept
public void accept(RetrieveAndGenerateStreamResponseHandler.Visitor visitor)
Description copied from class:RetrieveAndGenerateOutputEventCalls the appropriate visit method depending on the subtype ofRetrieveAndGenerateOutputEvent.- Specified by:
acceptin interfaceRetrieveAndGenerateStreamResponseOutput- Overrides:
acceptin classRetrieveAndGenerateOutputEvent- Parameters:
visitor- Visitor to invoke.
-
sdkEventType
public RetrieveAndGenerateStreamResponseOutput.EventType sdkEventType()
Description copied from interface:RetrieveAndGenerateStreamResponseOutputThe type of this event. Corresponds to the:event-typeheader on the Message.
-
-