public KubernetesApiCallAction withSourceIps(String... sourceIps) {
        if (this.sourceIps == null) {
            setSourceIps(new java.util.ArrayList<String>(sourceIps.length));
        }
        for (String ele : sourceIps) {
            this.sourceIps.add(ele);
        }
        return this;
    }
<p>
The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between the caller and the API
endpoint.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSourceIps(java.util.Collection)} or {@link #withSourceIps(java.util.Collection)} if you want to
override the existing values.
</p>

@param sourceIps
       The IP of the Kubernetes API caller and the IPs of any proxies or load balancers between the caller and
       the API endpoint.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/KubernetesApiCallAction.java