public Target withDeadLetterConfig(DeadLetterConfig deadLetterConfig) {
        setDeadLetterConfig(deadLetterConfig);
        return this;
    }
<p>
The <code>DeadLetterConfig</code> that defines the target queue to send dead-letter queue events to.
</p>

@param deadLetterConfig
       The <code>DeadLetterConfig</code> that defines the target queue to send dead-letter queue events to.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/Target.java