public RoutedResource withArn(String arn) {
        setArn(arn);
        return this;
    }
<p>
The ARN of the routed resource. For more information, see <a
href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names
(ARNs)</a> in the <i>AWS General Reference</i>.
</p>

@param arn
       The ARN of the routed resource. For more information, see <a
       href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names
       (ARNs)</a> in the <i>AWS General Reference</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotevents/src/main/java/com/amazonaws/services/iotevents/model/RoutedResource.java