Class CapacityFactory


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

    • Method Detail

      • getFactory

        public static CapacityFactory 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:
        CapacityFactory factory instance
      • thresholdService

        public Threshold thresholdService()
        Returns an instance of class Threshold
      • usageService

        public Usage usageService()
        Returns an instance of class Usage
      • updateStubConfiguration

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