public CreatePublicVirtualInterfaceResult withVirtualGatewayId(String virtualGatewayId) {
        setVirtualGatewayId(virtualGatewayId);
        return this;
    }
<p>
The ID of the virtual private gateway. Applies only to private virtual interfaces.
</p>

@param virtualGatewayId
       The ID of the virtual private gateway. Applies only to private virtual interfaces.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-directconnect/src/main/java/com/amazonaws/services/directconnect/model/CreatePublicVirtualInterfaceResult.java