Class ClusterStub

  • All Implemented Interfaces:
    Cluster, ClusterTypes, com.vmware.vapi.bindings.Service

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

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

    • Constructor Summary

      Constructors 
      Constructor Description
      ClusterStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      ClusterStub​(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
      void backuptoremote​(java.lang.String frameType, java.lang.String siteId)
      Request one-time backup.
      void backuptoremote​(java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Request one-time backup.
      void backuptoremote​(java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Request one-time backup.
      void backuptoremote​(java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Request one-time backup.
      void summarizeinventorytoremote()
      Request one-time inventory summary.
      void summarizeinventorytoremote​(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Request one-time inventory summary.
      void summarizeinventorytoremote​(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Request one-time inventory summary.
      void summarizeinventorytoremote​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Request one-time inventory summary.
      • 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

      • ClusterStub

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

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

      • backuptoremote

        public void backuptoremote​(java.lang.String frameType,
                                   java.lang.String siteId)
        Description copied from interface: Cluster
        Request one-time backup. The backup will be uploaded using the same server configuration as for automatic backup.

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

        Specified by:
        backuptoremote in interface Cluster
        Parameters:
        frameType - Frame type (optional, default to LOCAL_LOCAL_MANAGER)
        siteId - Site ID (optional, default to localhost)
      • backuptoremote

        public void backuptoremote​(java.lang.String frameType,
                                   java.lang.String siteId,
                                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Cluster
        Request one-time backup. The backup will be uploaded using the same server configuration as for automatic backup.

        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:
        backuptoremote in interface Cluster
        Parameters:
        frameType - Frame type (optional, default to LOCAL_LOCAL_MANAGER)
        siteId - Site ID (optional, default to localhost)
        invocationConfig - Configuration for the method invocation.
      • backuptoremote

        public void backuptoremote​(java.lang.String frameType,
                                   java.lang.String siteId,
                                   com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Cluster
        Request one-time backup. The backup will be uploaded using the same server configuration as for automatic backup.

        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:
        backuptoremote in interface Cluster
        Parameters:
        frameType - Frame type (optional, default to LOCAL_LOCAL_MANAGER)
        siteId - Site ID (optional, default to localhost)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • backuptoremote

        public void backuptoremote​(java.lang.String frameType,
                                   java.lang.String siteId,
                                   com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Cluster
        Request one-time backup. The backup will be uploaded using the same server configuration as for automatic backup.

        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:
        backuptoremote in interface Cluster
        Parameters:
        frameType - Frame type (optional, default to LOCAL_LOCAL_MANAGER)
        siteId - Site ID (optional, default to localhost)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • summarizeinventorytoremote

        public void summarizeinventorytoremote()
        Description copied from interface: Cluster
        Request one-time inventory summary. The backup will be uploaded using the same server configuration as for an automatic backup.

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

        Specified by:
        summarizeinventorytoremote in interface Cluster
      • summarizeinventorytoremote

        public void summarizeinventorytoremote​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Cluster
        Request one-time inventory summary. The backup will be uploaded using the same server configuration as for an automatic backup.

        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:
        summarizeinventorytoremote in interface Cluster
        Parameters:
        invocationConfig - Configuration for the method invocation.
      • summarizeinventorytoremote

        public void summarizeinventorytoremote​(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Cluster
        Request one-time inventory summary. The backup will be uploaded using the same server configuration as for an automatic backup.

        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:
        summarizeinventorytoremote in interface Cluster
        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • summarizeinventorytoremote

        public void summarizeinventorytoremote​(com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                                               com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Cluster
        Request one-time inventory summary. The backup will be uploaded using the same server configuration as for an automatic backup.

        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:
        summarizeinventorytoremote in interface Cluster
        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.