public UpdateInputSecurityGroupRequest withWhitelistRules(InputWhitelistRuleCidr... whitelistRules) {
        if (this.whitelistRules == null) {
            setWhitelistRules(new java.util.ArrayList<InputWhitelistRuleCidr>(whitelistRules.length));
        }
        for (InputWhitelistRuleCidr ele : whitelistRules) {
            this.whitelistRules.add(ele);
        }
        return this;
    }
List of IPv4 CIDR addresses to whitelist
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setWhitelistRules(java.util.Collection)} or {@link #withWhitelistRules(java.util.Collection)} if you want
to override the existing values.
</p>

@param whitelistRules
       List of IPv4 CIDR addresses to whitelist
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/model/UpdateInputSecurityGroupRequest.java