Class VersionWhitelistStub

    • Field Summary

      • Fields inherited from class com.vmware.vapi.internal.bindings.Stub

        apiProvider, converter, ifaceId, retryPolicy, securityContext
    • Constructor Summary

      Constructors 
      Constructor Description
      VersionWhitelistStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      VersionWhitelistStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AcceptableComponentVersion get​(java.lang.String componentType)
      Get whitelist of versions for a component.
      void get​(java.lang.String componentType, com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersion> asyncCallback)
      Get whitelist of versions for a component.
      void get​(java.lang.String componentType, com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersion> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get whitelist of versions for a component.
      AcceptableComponentVersion get​(java.lang.String componentType, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get whitelist of versions for a component.
      AcceptableComponentVersionList list()
      Get whitelist of versions for different components
      void list​(com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersionList> asyncCallback)
      Get whitelist of versions for different components
      void list​(com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersionList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get whitelist of versions for different components
      AcceptableComponentVersionList list​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get whitelist of versions for different components
      void update​(java.lang.String componentType, VersionList versionList)
      Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).
      void update​(java.lang.String componentType, VersionList versionList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).
      void update​(java.lang.String componentType, VersionList versionList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).
      void update​(java.lang.String componentType, VersionList versionList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).
      • Methods inherited from class com.vmware.vapi.internal.bindings.Stub

        invokeMethod, invokeMethodAsync, invokeStreamMethod, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VersionWhitelistStub

        public VersionWhitelistStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                                    com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
                                    com.vmware.vapi.bindings.StubConfigurationBase config)
      • VersionWhitelistStub

        public VersionWhitelistStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                                    com.vmware.vapi.bindings.StubConfigurationBase config)
    • Method Detail

      • get

        public AcceptableComponentVersion get​(java.lang.String componentType)
        Description copied from interface: VersionWhitelist
        Get whitelist of versions for a component. Component can include HOST, EDGE, CCP, MP

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        get in interface VersionWhitelist
        Parameters:
        componentType - (required)
        Returns:
        com.vmware.nsx_policy.model.AcceptableComponentVersion
      • get

        public AcceptableComponentVersion get​(java.lang.String componentType,
                                              com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: VersionWhitelist
        Get whitelist of versions for a component. Component can include HOST, EDGE, CCP, MP

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        get in interface VersionWhitelist
        Parameters:
        componentType - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.AcceptableComponentVersion
      • get

        public void get​(java.lang.String componentType,
                        com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersion> asyncCallback)
        Description copied from interface: VersionWhitelist
        Get whitelist of versions for a component. Component can include HOST, EDGE, CCP, MP

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.AcceptableComponentVersion

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface VersionWhitelist
        Parameters:
        componentType - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String componentType,
                        com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersion> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: VersionWhitelist
        Get whitelist of versions for a component. Component can include HOST, EDGE, CCP, MP

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.AcceptableComponentVersion

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface VersionWhitelist
        Parameters:
        componentType - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        public AcceptableComponentVersionList list()
        Description copied from interface: VersionWhitelist
        Get whitelist of versions for different components

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        list in interface VersionWhitelist
        Returns:
        com.vmware.nsx_policy.model.AcceptableComponentVersionList
      • list

        public AcceptableComponentVersionList list​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: VersionWhitelist
        Get whitelist of versions for different components

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        list in interface VersionWhitelist
        Parameters:
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.AcceptableComponentVersionList
      • list

        public void list​(com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersionList> asyncCallback)
        Description copied from interface: VersionWhitelist
        Get whitelist of versions for different components

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.AcceptableComponentVersionList

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        list in interface VersionWhitelist
        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        public void list​(com.vmware.vapi.bindings.client.AsyncCallback<AcceptableComponentVersionList> asyncCallback,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: VersionWhitelist
        Get whitelist of versions for different components

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx_policy.model.AcceptableComponentVersionList

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        list in interface VersionWhitelist
        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public void update​(java.lang.String componentType,
                           VersionList versionList)
        Description copied from interface: VersionWhitelist
        Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        update in interface VersionWhitelist
        Parameters:
        componentType - (required)
        versionList - (required)
      • update

        public void update​(java.lang.String componentType,
                           VersionList versionList,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: VersionWhitelist
        Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Specified by:
        update in interface VersionWhitelist
        Parameters:
        componentType - (required)
        versionList - (required)
        invocationConfig - Configuration for the method invocation.
      • update

        public void update​(java.lang.String componentType,
                           VersionList versionList,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: VersionWhitelist
        Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        update in interface VersionWhitelist
        Parameters:
        componentType - (required)
        versionList - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        public void update​(java.lang.String componentType,
                           VersionList versionList,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: VersionWhitelist
        Update the version whitelist for the specified component type (HOST, EDGE, CCP, MP).

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        update in interface VersionWhitelist
        Parameters:
        componentType - (required)
        versionList - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.