public void setDestinationArn(String destinationArn) {
        this.destinationArn = destinationArn;
    }
<p>
The ARN of the destination to deliver matching log events to. Currently, the supported destinations are:
</p>
<ul>
<li>
<p>
An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.
</p>
</li>
<li>
<p>
A logical destination (specified using an ARN) belonging to a different account, for cross-account delivery.
</p>
<p>
If you're setting up a cross-account subscription, the destination must have an IAM policy associated with it.
The IAM policy must allow the sender to send logs to the destination. For more information, see <a
href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestinationPolicy.html"
>PutDestinationPolicy</a>.
</p>
</li>
<li>
<p>
A Kinesis Data Firehose delivery stream belonging to the same account as the subscription filter, for
same-account delivery.
</p>
</li>
<li>
<p>
A Lambda function belonging to the same account as the subscription filter, for same-account delivery.
</p>
</li>
</ul>

@param destinationArn
       The ARN of the destination to deliver matching log events to. Currently, the supported destinations
       are:</p>
       <ul>
       <li>
       <p>
       An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account
       delivery.
       </p>
       </li>
       <li>
       <p>
       A logical destination (specified using an ARN) belonging to a different account, for cross-account
       delivery.
       </p>
       <p>
       If you're setting up a cross-account subscription, the destination must have an IAM policy associated with
       it. The IAM policy must allow the sender to send logs to the destination. For more information, see <a
       href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestinationPolicy.html">
       PutDestinationPolicy</a>.
       </p>
       </li>
       <li>
       <p>
       A Kinesis Data Firehose delivery stream belonging to the same account as the subscription filter, for
       same-account delivery.
       </p>
       </li>
       <li>
       <p>
       A Lambda function belonging to the same account as the subscription filter, for same-account delivery.
       </p>
       </li>
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/PutSubscriptionFilterRequest.java