Interface ErrorInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ErrorInfo.Builder,
,ErrorInfo> SdkBuilder<ErrorInfo.Builder,
,ErrorInfo> SdkPojo
- Enclosing class:
ErrorInfo
public static interface ErrorInfo.Builder
extends SdkPojo, CopyableBuilder<ErrorInfo.Builder,ErrorInfo>
-
Method Summary
Modifier and TypeMethodDescriptionerrorMessage
(String errorMessage) Specifies the error message that appears if a flow fails.Specifies the type of error.errorType
(ErrorDetails errorType) Specifies the type of error.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
errorMessage
Specifies the error message that appears if a flow fails.
- Parameters:
errorMessage
- Specifies the error message that appears if a flow fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorType
Specifies the type of error.
- Parameters:
errorType
- Specifies the type of error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorType
Specifies the type of error.
- Parameters:
errorType
- Specifies the type of error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-