@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeadLetterConfig extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains information about an Amazon SQS queue that EventBridge Scheduler uses as a dead-letter queue for your schedule. If specified, EventBridge Scheduler delivers failed events that could not be successfully delivered to a target to the queue.
Constructor and Description |
---|
DeadLetterConfig() |
Modifier and Type | Method and Description |
---|---|
DeadLetterConfig |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the SQS queue specified as the destination for the dead-letter queue.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the SQS queue specified as the destination for the dead-letter queue.
|
String |
toString()
Returns a string representation of this object.
|
DeadLetterConfig |
withArn(String arn)
The Amazon Resource Name (ARN) of the SQS queue specified as the destination for the dead-letter queue.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the SQS queue specified as the destination for the dead-letter queue.
arn
- The Amazon Resource Name (ARN) of the SQS queue specified as the destination for the dead-letter queue.public String getArn()
The Amazon Resource Name (ARN) of the SQS queue specified as the destination for the dead-letter queue.
public DeadLetterConfig withArn(String arn)
The Amazon Resource Name (ARN) of the SQS queue specified as the destination for the dead-letter queue.
arn
- The Amazon Resource Name (ARN) of the SQS queue specified as the destination for the dead-letter queue.public String toString()
toString
in class Object
Object.toString()
public DeadLetterConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.