public PublicIpRequest sourceRestrictions(List<String> sourceRestrictions) {
        List<SourceRestriction> restrictions = new ArrayList<>(sourceRestrictions.size());
        sourceRestrictions.forEach(value -> restrictions.add(new SourceRestriction(value)));
        setSourceRestrictions(restrictions);
        return this;
    }
public PublicIpRequest sourceRestrictions ( List < String > sourceRestrictions ) { List < SourceRestriction > restrictions = new ArrayList < > ( sourceRestrictions . size ( ) ) ; sourceRestrictions . forEach ( value -> restrictions . add ( new SourceRestriction ( value ) ) ) ; setSourceRestrictions ( restrictions ) ; return this ; }
Specify List of source restrictions in CIDR(Classless Inter-Domain Routing) format
@param sourceRestrictions list of source restrictions
@return PublicIp configuration