public NetworkPathComponent withIngress(NetworkHeader ingress) {
        setIngress(ingress);
        return this;
    }
<p>
Information about the component that comes before the current node in the network path.
</p>

@param ingress
       Information about the component that comes before the current node in the network 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/NetworkPathComponent.java