Class ConverseStreamMetadataEvent
java.lang.Object
software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamMetadataEvent
- All Implemented Interfaces:
Serializable,SdkPojo,ConverseStreamOutput,ToCopyableBuilder<ConverseStreamMetadataEvent.Builder,ConverseStreamMetadataEvent>
- Direct Known Subclasses:
DefaultMetadata
@Generated("software.amazon.awssdk:codegen")
public class ConverseStreamMetadataEvent
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<ConverseStreamMetadataEvent.Builder,ConverseStreamMetadataEvent>, ConverseStreamOutput
A conversation stream metadata event.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprotected static classNested classes/interfaces inherited from interface software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput
ConverseStreamOutput.EventType -
Field Summary
Fields inherited from interface software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput
UNKNOWN -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionvoidCalls the appropriate visit method depending on the subtype ofConverseStreamMetadataEvent.builder()copy(Consumer<? super ConverseStreamMetadataEvent.Builder> modifier) final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ConverseStreamMetricsmetrics()The metrics for the conversation stream metadata event.final PerformanceConfigurationModel performance configuration metadata for the conversation stream event.static Class<? extends ConverseStreamMetadataEvent.Builder>final ServiceTierSpecifies the processing tier configuration used for serving the request.final StringtoString()Returns a string representation of this object.final ConverseStreamTracetrace()The trace object in the response from ConverseStream that contains information about the guardrail behavior.final TokenUsageusage()Usage information for the conversation stream event.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput
sdkEventType
-
Constructor Details
-
ConverseStreamMetadataEvent
-
-
Method Details
-
usage
Usage information for the conversation stream event.
- Returns:
- Usage information for the conversation stream event.
-
metrics
The metrics for the conversation stream metadata event.
- Returns:
- The metrics for the conversation stream metadata event.
-
trace
The trace object in the response from ConverseStream that contains information about the guardrail behavior.
- Returns:
- The trace object in the response from ConverseStream that contains information about the guardrail behavior.
-
performanceConfig
Model performance configuration metadata for the conversation stream event.
- Returns:
- Model performance configuration metadata for the conversation stream event.
-
serviceTier
Specifies the processing tier configuration used for serving the request.
- Returns:
- Specifies the processing tier configuration used for serving the request.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConverseStreamMetadataEvent.Builder,ConverseStreamMetadataEvent>
-
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 ConverseStreamMetadataEvent copy(Consumer<? super ConverseStreamMetadataEvent.Builder> modifier) - Specified by:
copyin interfaceToCopyableBuilder<ConverseStreamMetadataEvent.Builder,ConverseStreamMetadataEvent>
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
accept
Calls the appropriate visit method depending on the subtype ofConverseStreamMetadataEvent.- Specified by:
acceptin interfaceConverseStreamOutput- Parameters:
visitor- Visitor to invoke.
-