public NetworkPathComponentDetails withAddress(String... address) {
        if (this.address == null) {
            setAddress(new java.util.ArrayList<String>(address.length));
        }
        for (String ele : address) {
            this.address.add(ele);
        }
        return this;
    }
<p>
The IP addresses of the destination.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAddress(java.util.Collection)} or {@link #withAddress(java.util.Collection)} if you want to override
the existing values.
</p>

@param address
       The IP addresses of the destination.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/NetworkPathComponentDetails.java