public UpdateOriginEndpointResult withWhitelist(java.util.Collection<String> whitelist) {
        setWhitelist(whitelist);
        return this;
    }
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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediapackage/src/main/java/com/amazonaws/services/mediapackage/model/UpdateOriginEndpointResult.java