Class DefaultErrorEvent
java.lang.Object
software.amazon.awssdk.services.healthlake.model.ErrorEvent
software.amazon.awssdk.services.healthlake.model.agentoutputmessagestream.DefaultErrorEvent
- All Implemented Interfaces:
Serializable,SdkPojo,AgentOutputMessageStream,ToCopyableBuilder<ErrorEvent.Builder,ErrorEvent>
@SdkInternalApi
@Generated("software.amazon.awssdk:codegen")
public final class DefaultErrorEvent
extends ErrorEvent
A specialization of
software.amazon.awssdk.services.healthlake.model.ErrorEvent that represents the
AgentOutputMessageStream$ErrorEvent event. Do not use this class directly. Instead, use the static builder
methods on AgentOutputMessageStream.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface software.amazon.awssdk.services.healthlake.model.AgentOutputMessageStream
AgentOutputMessageStream.EventType -
Field Summary
Fields inherited from interface software.amazon.awssdk.services.healthlake.model.AgentOutputMessageStream
UNKNOWN -
Method Summary
Modifier and TypeMethodDescriptionvoidCalls the appropriate visit method depending on the subtype ofErrorEvent.static DefaultErrorEvent.Builderbuilder()The type of this event.Take this object and create a builder that contains all of the current property values of this object.Methods inherited from class software.amazon.awssdk.services.healthlake.model.ErrorEvent
copy, equals, equalsBySdkFields, error, errorAsString, getValueForField, hashCode, message, sdkFieldNameToField, sdkFields, serializableBuilderClass, toString
-
Method Details
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ErrorEvent.Builder,ErrorEvent> - Overrides:
toBuilderin classErrorEvent- Returns:
- a builder for type T
-
builder
-
accept
Description copied from class:ErrorEventCalls the appropriate visit method depending on the subtype ofErrorEvent.- Specified by:
acceptin interfaceAgentOutputMessageStream- Overrides:
acceptin classErrorEvent- Parameters:
visitor- Visitor to invoke.
-
sdkEventType
Description copied from interface:AgentOutputMessageStreamThe type of this event. Corresponds to the:event-typeheader on the Message.
-