public DescribeAccessPolicyResult withAccessPolicyId(String accessPolicyId) {
        setAccessPolicyId(accessPolicyId);
        return this;
    }
<p>
The ID of the access policy.
</p>

@param accessPolicyId
       The ID of the access policy.
@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