@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)
Marshalls this structured data using the given
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.ExecutionErrorType
public 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.ExecutionErrorType
public 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.ExecutionErrorType
public 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.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)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.