Class BidirectionalOutputPayloadPart
java.lang.Object
software.amazon.awssdk.services.bedrockruntime.model.BidirectionalOutputPayloadPart
- All Implemented Interfaces:
Serializable,SdkPojo,InvokeModelWithBidirectionalStreamOutput,ToCopyableBuilder<BidirectionalOutputPayloadPart.Builder,BidirectionalOutputPayloadPart>
- Direct Known Subclasses:
DefaultChunk
@Generated("software.amazon.awssdk:codegen")
public class BidirectionalOutputPayloadPart
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<BidirectionalOutputPayloadPart.Builder,BidirectionalOutputPayloadPart>, InvokeModelWithBidirectionalStreamOutput
Output from the bidirectional stream. The output is speech and a text transcription.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprotected static classNested classes/interfaces inherited from interface software.amazon.awssdk.services.bedrockruntime.model.InvokeModelWithBidirectionalStreamOutput
InvokeModelWithBidirectionalStreamOutput.EventType -
Field Summary
Fields inherited from interface software.amazon.awssdk.services.bedrockruntime.model.InvokeModelWithBidirectionalStreamOutput
UNKNOWN -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionvoidCalls the appropriate visit method depending on the subtype ofBidirectionalOutputPayloadPart.builder()final SdkBytesbytes()The speech output of the bidirectional stream.copy(Consumer<? super BidirectionalOutputPayloadPart.Builder> modifier) final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends BidirectionalOutputPayloadPart.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.services.bedrockruntime.model.InvokeModelWithBidirectionalStreamOutput
sdkEventType
-
Constructor Details
-
BidirectionalOutputPayloadPart
-
-
Method Details
-
bytes
The speech output of the bidirectional stream.
- Returns:
- The speech output of the bidirectional stream.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<BidirectionalOutputPayloadPart.Builder,BidirectionalOutputPayloadPart>
-
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
-
copy
public final BidirectionalOutputPayloadPart copy(Consumer<? super BidirectionalOutputPayloadPart.Builder> modifier) - Specified by:
copyin interfaceToCopyableBuilder<BidirectionalOutputPayloadPart.Builder,BidirectionalOutputPayloadPart>
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
accept
Calls the appropriate visit method depending on the subtype ofBidirectionalOutputPayloadPart.- Specified by:
acceptin interfaceInvokeModelWithBidirectionalStreamOutput- Parameters:
visitor- Visitor to invoke.
-