Class ExecutionError
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExecutionError.Builder,ExecutionError>
Specifies the error message and type, for an error that occurs during the execution of the workflow.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutionError.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringmessage()Specifies the descriptive message that corresponds to theErrorType.static Class<? extends ExecutionError.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final ExecutionErrorTypetype()Specifies the error type.final StringSpecifies the error type.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
type
Specifies the error type.
-
ALREADY_EXISTS: occurs for a copy step, if the overwrite option is not selected and a file with the same name already exists in the target location. -
BAD_REQUEST: a general bad request: for example, a step that attempts to tag an EFS file returnsBAD_REQUEST, as only S3 files can be tagged. -
CUSTOM_STEP_FAILED: occurs when the custom step provided a callback that indicates failure. -
INTERNAL_SERVER_ERROR: a catch-all error that can occur for a variety of reasons. -
NOT_FOUND: occurs when a requested entity, for example a source file for a copy step, does not exist. -
PERMISSION_DENIED: occurs if your policy does not contain the correct permissions to complete one or more of the steps in the workflow. -
TIMEOUT: occurs when the execution times out.You can set the
TimeoutSecondsfor a custom step, anywhere from 1 second to 1800 seconds (30 minutes). -
THROTTLED: occurs if you exceed the new execution refill rate of one workflow per second.
If the service returns an enum value that is not available in the current SDK version,
typewill returnExecutionErrorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specifies the error type.
-
ALREADY_EXISTS: occurs for a copy step, if the overwrite option is not selected and a file with the same name already exists in the target location. -
BAD_REQUEST: a general bad request: for example, a step that attempts to tag an EFS file returnsBAD_REQUEST, as only S3 files can be tagged. -
CUSTOM_STEP_FAILED: occurs when the custom step provided a callback that indicates failure. -
INTERNAL_SERVER_ERROR: a catch-all error that can occur for a variety of reasons. -
NOT_FOUND: occurs when a requested entity, for example a source file for a copy step, does not exist. -
PERMISSION_DENIED: occurs if your policy does not contain the correct permissions to complete one or more of the steps in the workflow. -
TIMEOUT: occurs when the execution times out.You can set the
TimeoutSecondsfor a custom step, anywhere from 1 second to 1800 seconds (30 minutes). -
THROTTLED: occurs if you exceed the new execution refill rate of one workflow per second.
-
- See Also:
-
-
typeAsString
Specifies the error type.
-
ALREADY_EXISTS: occurs for a copy step, if the overwrite option is not selected and a file with the same name already exists in the target location. -
BAD_REQUEST: a general bad request: for example, a step that attempts to tag an EFS file returnsBAD_REQUEST, as only S3 files can be tagged. -
CUSTOM_STEP_FAILED: occurs when the custom step provided a callback that indicates failure. -
INTERNAL_SERVER_ERROR: a catch-all error that can occur for a variety of reasons. -
NOT_FOUND: occurs when a requested entity, for example a source file for a copy step, does not exist. -
PERMISSION_DENIED: occurs if your policy does not contain the correct permissions to complete one or more of the steps in the workflow. -
TIMEOUT: occurs when the execution times out.You can set the
TimeoutSecondsfor a custom step, anywhere from 1 second to 1800 seconds (30 minutes). -
THROTTLED: occurs if you exceed the new execution refill rate of one workflow per second.
If the service returns an enum value that is not available in the current SDK version,
typewill returnExecutionErrorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Specifies the error type.
-
ALREADY_EXISTS: occurs for a copy step, if the overwrite option is not selected and a file with the same name already exists in the target location. -
BAD_REQUEST: a general bad request: for example, a step that attempts to tag an EFS file returnsBAD_REQUEST, as only S3 files can be tagged. -
CUSTOM_STEP_FAILED: occurs when the custom step provided a callback that indicates failure. -
INTERNAL_SERVER_ERROR: a catch-all error that can occur for a variety of reasons. -
NOT_FOUND: occurs when a requested entity, for example a source file for a copy step, does not exist. -
PERMISSION_DENIED: occurs if your policy does not contain the correct permissions to complete one or more of the steps in the workflow. -
TIMEOUT: occurs when the execution times out.You can set the
TimeoutSecondsfor a custom step, anywhere from 1 second to 1800 seconds (30 minutes). -
THROTTLED: occurs if you exceed the new execution refill rate of one workflow per second.
-
- See Also:
-
-
message
Specifies the descriptive message that corresponds to the
ErrorType.- Returns:
- Specifies the descriptive message that corresponds to the
ErrorType.
-
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<ExecutionError.Builder,ExecutionError> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-