public Instance withArn(String arn) {
        setArn(arn);
        return this;
    }
<p>
The Amazon Resource Name (ARN) of the instance (
<code>arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE</code>).
</p>

@param arn
       The Amazon Resource Name (ARN) of the instance (
       <code>arn:aws:lightsail:us-east-2:123456789101:Instance/244ad76f-8aad-4741-809f-12345EXAMPLE</code>).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/Instance.java