public ListVpcEndpointAccessResult withAuthorizedPrincipalList(java.util.Collection<AuthorizedPrincipal> authorizedPrincipalList) {
        setAuthorizedPrincipalList(authorizedPrincipalList);
        return this;
    }
<p>
A list of <a
href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html">IAM
principals</a> that can currently access the domain.
</p>

@param authorizedPrincipalList
       A list of <a
       href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html">IAM
       principals</a> that can currently access 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/ListVpcEndpointAccessResult.java