public Integer getVirtualNetworkId() {
        return this.virtualNetworkId;
    }
<p>
The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see <a
href="https://datatracker.ietf.org/doc/html/rfc7348">RFC 7348</a>. If you do not specify a
<code>VirtualNetworkId</code>, an account-wide unique ID is chosen at random.
</p>

@return The VXLAN ID for the Traffic Mirror session. For more information about the VXLAN protocol, see <a
        href="https://datatracker.ietf.org/doc/html/rfc7348">RFC 7348</a>. If you do not specify a
        <code>VirtualNetworkId</code>, an account-wide unique ID is chosen at random.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateTrafficMirrorSessionRequest.java