Class NodeFailureEvent
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.NodeFailureEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NodeFailureEvent.Builder,NodeFailureEvent>
@Generated("software.amazon.awssdk:codegen") public final class NodeFailureEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NodeFailureEvent.Builder,NodeFailureEvent>
Contains information about a failure that occurred at a specific node during a flow execution.
Flow executions is in preview release for Amazon Bedrock and is subject to change.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNodeFailureEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeFailureEvent.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)NodeErrorCodeerrorCode()The error code that identifies the type of failure that occurred at the node.StringerrorCodeAsString()The error code that identifies the type of failure that occurred at the node.StringerrorMessage()A descriptive message that provides details about the node failure.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnodeName()The name of the node where the failure occurred.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NodeFailureEvent.Builder>serializableBuilderClass()Instanttimestamp()The timestamp when the node failure occurred.NodeFailureEvent.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
errorCode
public final NodeErrorCode errorCode()
The error code that identifies the type of failure that occurred at the node.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnNodeErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code that identifies the type of failure that occurred at the node.
- See Also:
NodeErrorCode
-
errorCodeAsString
public final String errorCodeAsString()
The error code that identifies the type of failure that occurred at the node.
If the service returns an enum value that is not available in the current SDK version,
errorCodewill returnNodeErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromerrorCodeAsString().- Returns:
- The error code that identifies the type of failure that occurred at the node.
- See Also:
NodeErrorCode
-
errorMessage
public final String errorMessage()
A descriptive message that provides details about the node failure.
- Returns:
- A descriptive message that provides details about the node failure.
-
nodeName
public final String nodeName()
The name of the node where the failure occurred.
- Returns:
- The name of the node where the failure occurred.
-
timestamp
public final Instant timestamp()
The timestamp when the node failure occurred.
- Returns:
- The timestamp when the node failure occurred.
-
toBuilder
public NodeFailureEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NodeFailureEvent.Builder,NodeFailureEvent>
-
builder
public static NodeFailureEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends NodeFailureEvent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-