public DomainStatus withAccessPolicies(String accessPolicies) {
        setAccessPolicies(accessPolicies);
        return this;
    }
<p>
Identity and Access Management (IAM) policy document specifying the access policies for the domain.
</p>

@param accessPolicies
       Identity and Access Management (IAM) policy document specifying the access policies for the domain.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/DomainStatus.java