@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: currently, the only valid value is
PERMISSION_DENIED, which occurs if your
policy does not contain the correct permissions to complete one or more of the steps in the workflow. |
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: currently, the only valid value is
PERMISSION_DENIED, which occurs if your
policy does not contain the correct permissions to complete one or more of the steps in the workflow. |
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: currently, the only valid value is
PERMISSION_DENIED, which occurs if your
policy does not contain the correct permissions to complete one or more of the steps in the workflow. |
ExecutionError |
withType(String type)
Specifies the error type: currently, the only valid value is
PERMISSION_DENIED, which occurs if your
policy does not contain the correct permissions to complete one or more of the steps in the workflow. |
public void setType(String type)
Specifies the error type: currently, the only valid value is PERMISSION_DENIED, which occurs if your
policy does not contain the correct permissions to complete one or more of the steps in the workflow.
type - Specifies the error type: currently, the only valid value is PERMISSION_DENIED, which occurs
if your policy does not contain the correct permissions to complete one or more of the steps in the
workflow.ExecutionErrorTypepublic String getType()
Specifies the error type: currently, the only valid value is PERMISSION_DENIED, which occurs if your
policy does not contain the correct permissions to complete one or more of the steps in the workflow.
PERMISSION_DENIED, which occurs
if your policy does not contain the correct permissions to complete one or more of the steps in the
workflow.ExecutionErrorTypepublic ExecutionError withType(String type)
Specifies the error type: currently, the only valid value is PERMISSION_DENIED, which occurs if your
policy does not contain the correct permissions to complete one or more of the steps in the workflow.
type - Specifies the error type: currently, the only valid value is PERMISSION_DENIED, which occurs
if your policy does not contain the correct permissions to complete one or more of the steps in the
workflow.ExecutionErrorTypepublic ExecutionError withType(ExecutionErrorType type)
Specifies the error type: currently, the only valid value is PERMISSION_DENIED, which occurs if your
policy does not contain the correct permissions to complete one or more of the steps in the workflow.
type - Specifies the error type: currently, the only valid value is PERMISSION_DENIED, which occurs
if your policy does not contain the correct permissions to complete one or more of the steps in the
workflow.ExecutionErrorTypepublic 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 ObjectObject.toString()public ExecutionError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.