@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LambdaFunctionFailedEventDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about a Lambda function that failed during an execution.
Constructor and Description |
---|
LambdaFunctionFailedEventDetails() |
Modifier and Type | Method and Description |
---|---|
LambdaFunctionFailedEventDetails |
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.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
LambdaFunctionFailedEventDetails |
withCause(String cause)
A more detailed explanation of the cause of the failure.
|
LambdaFunctionFailedEventDetails |
withError(String error)
The error code of the failure.
|
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 LambdaFunctionFailedEventDetails 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 LambdaFunctionFailedEventDetails 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 LambdaFunctionFailedEventDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.