@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeadLetterConfig extends Object implements Serializable, Cloneable, StructuredPojo
The dead-letter queue for failed asynchronous invocations.
| Constructor and Description |
|---|
DeadLetterConfig() |
| Modifier and Type | Method and Description |
|---|---|
DeadLetterConfig |
clone() |
boolean |
equals(Object obj) |
String |
getTargetArn()
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setTargetArn(String targetArn)
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
|
String |
toString()
Returns a string representation of this object.
|
DeadLetterConfig |
withTargetArn(String targetArn)
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
|
public void setTargetArn(String targetArn)
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
targetArn - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.public String getTargetArn()
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
public DeadLetterConfig withTargetArn(String targetArn)
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
targetArn - The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.public String toString()
toString in class ObjectObject.toString()public DeadLetterConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.