@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OnFailure extends Object implements Serializable, Cloneable, StructuredPojo
A destination for events that failed processing.
Constructor and Description |
---|
OnFailure() |
Modifier and Type | Method and Description |
---|---|
OnFailure |
clone() |
boolean |
equals(Object obj) |
String |
getDestination()
The Amazon Resource Name (ARN) of the destination resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestination(String destination)
The Amazon Resource Name (ARN) of the destination resource.
|
String |
toString()
Returns a string representation of this object.
|
OnFailure |
withDestination(String destination)
The Amazon Resource Name (ARN) of the destination resource.
|
public void setDestination(String destination)
The Amazon Resource Name (ARN) of the destination resource.
destination
- The Amazon Resource Name (ARN) of the destination resource.public String getDestination()
The Amazon Resource Name (ARN) of the destination resource.
public OnFailure withDestination(String destination)
The Amazon Resource Name (ARN) of the destination resource.
destination
- The Amazon Resource Name (ARN) of the destination resource.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.