public AwsSecurityFinding withNetworkPath(NetworkPathComponent... networkPath) {
        if (this.networkPath == null) {
            setNetworkPath(new java.util.ArrayList<NetworkPathComponent>(networkPath.length));
        }
        for (NetworkPathComponent ele : networkPath) {
            this.networkPath.add(ele);
        }
        return this;
    }
<p>
Provides information about a network path that is relevant to a finding. Each entry under
<code>NetworkPath</code> represents a component of that path.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNetworkPath(java.util.Collection)} or {@link #withNetworkPath(java.util.Collection)} if you want to
override the existing values.
</p>

@param networkPath
       Provides information about a network path that is relevant to a finding. Each entry under
       <code>NetworkPath</code> represents a component of that path.
@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/AwsSecurityFinding.java