public class DeadLetterConfig extends Object implements Serializable, Cloneable
The parent object that contains the target ARN (Amazon Resource Name) of an Amazon SQS queue or Amazon SNS topic.
Constructor and Description |
---|
DeadLetterConfig() |
Modifier and Type | Method and Description |
---|---|
DeadLetterConfig |
clone() |
boolean |
equals(Object obj) |
String |
getTargetArn()
The ARN (Amazon Resource Value) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue
(DLQ).
|
int |
hashCode() |
void |
setTargetArn(String targetArn)
The ARN (Amazon Resource Value) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue
(DLQ).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DeadLetterConfig |
withTargetArn(String targetArn)
The ARN (Amazon Resource Value) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue
(DLQ).
|
public void setTargetArn(String targetArn)
The ARN (Amazon Resource Value) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue (DLQ).
targetArn
- The ARN (Amazon Resource Value) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter
Queue (DLQ).public String getTargetArn()
The ARN (Amazon Resource Value) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue (DLQ).
public DeadLetterConfig withTargetArn(String targetArn)
The ARN (Amazon Resource Value) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter Queue (DLQ).
targetArn
- The ARN (Amazon Resource Value) of an Amazon SQS queue or Amazon SNS topic you specify as your Dead Letter
Queue (DLQ).public String toString()
toString
in class Object
Object.toString()
public DeadLetterConfig clone()
Copyright © 2016. All rights reserved.