Class NatFactory


  • public class NatFactory
    extends java.lang.Object
    NatFactory is responsible for creating instances of services contained inside the com.vmware.nsx_policy.infra.tier_0s.nat package and also has the subpackages reference to access respective subpackage services.

    • Method Detail

      • getFactory

        public static NatFactory getFactory​(com.vmware.vapi.bindings.StubFactory stubFactory,
                                            com.vmware.vapi.bindings.StubConfiguration stubConfig)
        Creates the new instance of this class with provided configuration
        Parameters:
        stubFactory - StubFactory instance is responsible for creating stubs
        stubConfig - StubConfiguration instance is required to authenticate the request
        Returns:
        NatFactory factory instance
      • natRulesService

        public NatRules natRulesService()
        Returns an instance of class NatRules
      • updateStubConfiguration

        public void updateStubConfiguration​(com.vmware.vapi.bindings.StubFactory stubFactory,
                                            com.vmware.vapi.bindings.StubConfiguration stubConfig)