Interface ErrorEvent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ErrorEvent.Builder,,ErrorEvent> SdkBuilder<ErrorEvent.Builder,,ErrorEvent> SdkPojo
- All Known Subinterfaces:
DefaultErrorEvent.Builder
- Enclosing class:
ErrorEvent
@Mutable
@NotThreadSafe
public static interface ErrorEvent.Builder
extends SdkPojo, CopyableBuilder<ErrorEvent.Builder,ErrorEvent>
-
Method Summary
Modifier and TypeMethodDescriptionThe type of the exception.error(AgentErrorType error) The type of the exception.The exception message.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
error
The type of the exception.
- Parameters:
error- The type of the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
error
The type of the exception.
- Parameters:
error- The type of the exception.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
The exception message.
- Parameters:
message- The exception message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-