@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskSubmitFailedEventDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about a task that failed to submit during an execution.
| Constructor and Description |
|---|
TaskSubmitFailedEventDetails () |
| Modifier and Type | Method and Description |
|---|---|
TaskSubmitFailedEventDetails |
clone () |
boolean |
equals (Object obj) |
String |
getCause ()
A more detailed explanation of the cause of the failure.
|
String |
getError ()
The error code of the failure.
|
String |
getResource ()
The action of the resource called by a task state.
|
String |
getResourceType ()
The service name of the resource in a task state.
|
int |
hashCode () |
void |
marshall (ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCause (String cause)
A more detailed explanation of the cause of the failure.
|
void |
setError (String error)
The error code of the failure.
|
void |
setResource (String resource)
The action of the resource called by a task state.
|
void |
setResourceType (String resourceType)
The service name of the resource in a task state.
|
String |
toString ()
Returns a string representation of this object.
|
TaskSubmitFailedEventDetails |
withCause (String cause)
A more detailed explanation of the cause of the failure.
|
TaskSubmitFailedEventDetails |
withError (String error)
The error code of the failure.
|
TaskSubmitFailedEventDetails |
withResource (String resource)
The action of the resource called by a task state.
|
TaskSubmitFailedEventDetails |
withResourceType (String resourceType)
The service name of the resource in a task state.
|
public TaskSubmitFailedEventDetails()
public void setResourceType(String resourceType)
The service name of the resource in a task state.
resourceType - The service name of the resource in a task state.public String getResourceType()
The service name of the resource in a task state.
public TaskSubmitFailedEventDetails withResourceType(String resourceType)
The service name of the resource in a task state.
resourceType - The service name of the resource in a task state.public void setResource(String resource)
The action of the resource called by a task state.
resource - The action of the resource called by a task state.public String getResource()
The action of the resource called by a task state.
public TaskSubmitFailedEventDetails withResource(String resource)
The action of the resource called by a task state.
resource - The action of the resource called by a task state.public void setError(String error)
The error code of the failure.
error - The error code of the failure.public String getError()
The error code of the failure.
public TaskSubmitFailedEventDetails withError(String error)
The error code of the failure.
error - The error code of the failure.public void setCause(String cause)
A more detailed explanation of the cause of the failure.
cause - A more detailed explanation of the cause of the failure.public String getCause()
A more detailed explanation of the cause of the failure.
public TaskSubmitFailedEventDetails withCause(String cause)
A more detailed explanation of the cause of the failure.
cause - A more detailed explanation of the cause of the failure.public String toString()
toString in class Object Object.toString() public TaskSubmitFailedEventDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo ProtocolMarshaller.marshall in interface StructuredPojo protocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.