public void setWhitelist(java.util.Collection<String> whitelist) {
        if (whitelist == null) {
            this.whitelist = null;
            return;
        }

        this.whitelist = new java.util.ArrayList<String>(whitelist);
    }
public void setWhitelist ( java . util . Collection < String > whitelist ) { if ( whitelist == null ) { this . whitelist = null ; return ; } this . whitelist = new java . util . ArrayList < String > ( whitelist ) ; }
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.

@param whitelist
A list of source IP CIDR blocks that will be allowed to access the OriginEndpoint.