public void setAllowedPrincipals(java.util.Collection<AllowedPrincipal> allowedPrincipals) {
        if (allowedPrincipals == null) {
            this.allowedPrincipals = null;
            return;
        }

        this.allowedPrincipals = new com.amazonaws.internal.SdkInternalList<AllowedPrincipal>(allowedPrincipals);
    }
<p>
Information about the allowed principals.
</p>

@param allowedPrincipals
       Information about the allowed principals.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeVpcEndpointServicePermissionsResult.java