public DestinationProperties withDestinationArn(String destinationArn) {
        setDestinationArn(destinationArn);
        return this;
    }
<p>
The ARN of the resource to publish to.
</p>
<p>
To specify an S3 bucket folder use the following format: <code>arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/</code>
</p>

@param destinationArn
       The ARN of the resource to publish to.</p>
       <p>
       To specify an S3 bucket folder use the following format:
       <code>arn:aws:s3:::DOC-EXAMPLE-BUCKET/myFolder/</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/DestinationProperties.java