@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecutionError extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the error message and type, for an error that occurs during the execution of the workflow.
Constructor and Description |
---|
ExecutionError() |
Modifier and Type | Method and Description |
---|---|
ExecutionError |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
Specifies the descriptive message that corresponds to the
ErrorType . |
String |
getType()
Specifies the error type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setMessage(String message)
Specifies the descriptive message that corresponds to the
ErrorType . |
void |
setType(String type)
Specifies the error type.
|
String |
toString()
Returns a string representation of this object.
|
ExecutionError |
withMessage(String message)
Specifies the descriptive message that corresponds to the
ErrorType . |
ExecutionError |
withType(ExecutionErrorType type)
Specifies the error type.
|
ExecutionError |
withType(String type)
Specifies the error type.
|
public void setType(String 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 returns
BAD_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 TimeoutSeconds
for 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.
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
returns BAD_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 TimeoutSeconds
for 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.
ExecutionErrorType
public String getType()
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 returns
BAD_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 TimeoutSeconds
for 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.
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
returns BAD_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 TimeoutSeconds
for 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.
ExecutionErrorType
public ExecutionError withType(String 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 returns
BAD_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 TimeoutSeconds
for 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.
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
returns BAD_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 TimeoutSeconds
for 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.
ExecutionErrorType
public ExecutionError withType(ExecutionErrorType 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 returns
BAD_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 TimeoutSeconds
for 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.
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
returns BAD_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 TimeoutSeconds
for 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.
ExecutionErrorType
public void setMessage(String message)
Specifies the descriptive message that corresponds to the ErrorType
.
message
- Specifies the descriptive message that corresponds to the ErrorType
.public String getMessage()
Specifies the descriptive message that corresponds to the ErrorType
.
ErrorType
.public ExecutionError withMessage(String message)
Specifies the descriptive message that corresponds to the ErrorType
.
message
- Specifies the descriptive message that corresponds to the ErrorType
.public String toString()
toString
in class Object
Object.toString()
public ExecutionError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.