public PutDestinationRequest withTargetArn(String targetArn) {
        setTargetArn(targetArn);
        return this;
    }
<p>
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
</p>

@param targetArn
       The ARN of an Amazon Kinesis stream to which to deliver matching log events.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/PutDestinationRequest.java