public NetworkPathComponent withEgress(NetworkHeader egress) {
        setEgress(egress);
        return this;
    }
<p>
Information about the component that comes after the current component in the network path.
</p>

@param egress
       Information about the component that comes after the current component 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