Class ExportStub

  • All Implemented Interfaces:
    Export, ExportTypes, com.vmware.vapi.bindings.Service

    public class ExportStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements Export
    Remote stub implementation of the Export API service.

    WARNING: Internal class, subject to change in future versions.

    • Field Summary

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

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

      Constructors 
      Constructor Description
      ExportStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      ExportStub​(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
      ExportTask cancel()
      This operation cancels an export task.
      void cancel​(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback)
      This operation cancels an export task.
      void cancel​(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This operation cancels an export task.
      ExportTask cancel​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This operation cancels an export task.
      ExportTask create​(ExportRequestParameter exportRequestParameter)
      Invoke export task.
      void create​(ExportRequestParameter exportRequestParameter, com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback)
      Invoke export task.
      void create​(ExportRequestParameter exportRequestParameter, com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Invoke export task.
      ExportTask create​(ExportRequestParameter exportRequestParameter, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Invoke export task.
      ExportTask get()
      Get the information of the latest export task.
      void get​(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback)
      Get the information of the latest export task.
      void get​(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get the information of the latest export task.
      ExportTask get​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get the information of the latest export task.
      • 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

      • ExportStub

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

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

      • cancel

        public ExportTask cancel()
        Description copied from interface: Export
        This operation cancels an export task. Task needs to be in running state.

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

        Specified by:
        cancel in interface Export
        Returns:
        com.vmware.nsx_policy.model.ExportTask
      • cancel

        public ExportTask cancel​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Export
        This operation cancels an export task. Task needs to be in running state.

        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:
        cancel in interface Export
        Parameters:
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ExportTask
      • cancel

        public void cancel​(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback)
        Description copied from interface: Export
        This operation cancels an export task. Task needs to be in running state.

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

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

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

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

        public void cancel​(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Export
        This operation cancels an export task. Task needs to be in running state.

        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.ExportTask

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

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

        public ExportTask create​(ExportRequestParameter exportRequestParameter)
        Description copied from interface: Export
        Invoke export task. There can be only one export task run at any point of time. Hence invocation of another export task will be discarded, when there exist an already running export task. Exported configuration will be in a CSV format. This CSV file will be zipped into a ZIP file, that can be downloaded after the completion of export task.

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

        Specified by:
        create in interface Export
        Parameters:
        exportRequestParameter - (required)
        Returns:
        com.vmware.nsx_policy.model.ExportTask
      • create

        public ExportTask create​(ExportRequestParameter exportRequestParameter,
                                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Export
        Invoke export task. There can be only one export task run at any point of time. Hence invocation of another export task will be discarded, when there exist an already running export task. Exported configuration will be in a CSV format. This CSV file will be zipped into a ZIP file, that can be downloaded after the completion of export task.

        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:
        create in interface Export
        Parameters:
        exportRequestParameter - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ExportTask
      • create

        public void create​(ExportRequestParameter exportRequestParameter,
                           com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback)
        Description copied from interface: Export
        Invoke export task. There can be only one export task run at any point of time. Hence invocation of another export task will be discarded, when there exist an already running export task. Exported configuration will be in a CSV format. This CSV file will be zipped into a ZIP file, that can be downloaded after the completion of export task.

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

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

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

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

        public void create​(ExportRequestParameter exportRequestParameter,
                           com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Export
        Invoke export task. There can be only one export task run at any point of time. Hence invocation of another export task will be discarded, when there exist an already running export task. Exported configuration will be in a CSV format. This CSV file will be zipped into a ZIP file, that can be downloaded after the completion of export task.

        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.ExportTask

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

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

        public ExportTask get()
        Description copied from interface: Export
        Get the information of the latest export task.

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

        Specified by:
        get in interface Export
        Returns:
        com.vmware.nsx_policy.model.ExportTask
      • get

        public ExportTask get​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Export
        Get the information of the latest export task.

        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 Export
        Parameters:
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ExportTask
      • get

        public void get​(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback)
        Description copied from interface: Export
        Get the information of the latest export task.

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

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

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

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

        public void get​(com.vmware.vapi.bindings.client.AsyncCallback<ExportTask> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Export
        Get the information of the latest export task.

        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.ExportTask

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

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