public RetryPolicy getRetryPolicy() {
        return this.retryPolicy;
    }
<p>
The <code>RetryPolicy</code> object that contains the retry policy configuration to use for the dead-letter
queue.
</p>

@return The <code>RetryPolicy</code> object that contains the retry policy configuration to use for the
        dead-letter queue.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/Target.java