public IAMUserIdentity withArn(String arn) {
        setArn(arn);
        return this;
    }
<p>
The ARN of the IAM user. For more information, see <a
href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html">IAM ARNs</a> in the <i>IAM
User Guide</i>.
</p>
<note>
<p>
If you delete the IAM user, access policies that contain this identity include an empty <code>arn</code>. You can
delete the access policy for the IAM user that no longer exists.
</p>
</note>

@param arn
       The ARN of the IAM user. For more information, see <a
       href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html">IAM ARNs</a> in the
       <i>IAM User Guide</i>.</p> <note>
       <p>
       If you delete the IAM user, access policies that contain this identity include an empty <code>arn</code>.
       You can delete the access policy for the IAM user that no longer exists.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/IAMUserIdentity.java