public DescribeAccessPolicyResult withAccessPolicyIdentity(Identity accessPolicyIdentity) {
        setAccessPolicyIdentity(accessPolicyIdentity);
        return this;
    }
<p>
The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access policy
applies.
</p>

@param accessPolicyIdentity
       The identity (IAM Identity Center user, IAM Identity Center group, or IAM user) to which this access
       policy applies.
@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/DescribeAccessPolicyResult.java