public AwsElasticsearchDomainDetails withAccessPolicies(String accessPolicies) {
        setAccessPolicies(accessPolicies);
        return this;
    }
<p>
IAM policy document specifying the access policies for the new Elasticsearch domain.
</p>

@param accessPolicies
       IAM policy document specifying the access policies for the new Elasticsearch domain.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsElasticsearchDomainDetails.java