public AuthorizeVpcEndpointAccessResult withAuthorizedPrincipal(AuthorizedPrincipal authorizedPrincipal) {
        setAuthorizedPrincipal(authorizedPrincipal);
        return this;
    }
<p>
Information about the account or service that was provided access to the domain.
</p>

@param authorizedPrincipal
       Information about the account or service that was provided access to the domain.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/AuthorizeVpcEndpointAccessResult.java