@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsLambdaFunctionDeadLetterConfig extends Object implements Serializable, Cloneable, StructuredPojo
The dead-letter queue for failed asynchronous invocations.
Constructor and Description |
---|
AwsLambdaFunctionDeadLetterConfig() |
Modifier and Type | Method and Description |
---|---|
AwsLambdaFunctionDeadLetterConfig |
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.
|
AwsLambdaFunctionDeadLetterConfig |
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 AwsLambdaFunctionDeadLetterConfig 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 Object
Object.toString()
public AwsLambdaFunctionDeadLetterConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.