Class ConfigStub

  • All Implemented Interfaces:
    Config, ConfigTypes, com.vmware.vapi.bindings.Service

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

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

    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      ConfigStub​(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
      BackupConfiguration get()
      Get a configuration of a file server and timers for automated backup.
      void get​(com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback)
      Get a configuration of a file server and timers for automated backup.
      void get​(com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get a configuration of a file server and timers for automated backup.
      BackupConfiguration get​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get a configuration of a file server and timers for automated backup.
      BackupConfiguration update​(BackupConfiguration backupConfiguration, java.lang.String frameType, java.lang.String siteId)
      Configure file server and timers for automated backup.
      void update​(BackupConfiguration backupConfiguration, java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback)
      Configure file server and timers for automated backup.
      void update​(BackupConfiguration backupConfiguration, java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Configure file server and timers for automated backup.
      BackupConfiguration update​(BackupConfiguration backupConfiguration, java.lang.String frameType, java.lang.String siteId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Configure file server and timers for automated backup.
      • 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

      • ConfigStub

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

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

      • get

        public BackupConfiguration get()
        Description copied from interface: Config
        Get a configuration of a file server and timers for automated backup. Fields that contain secrets (password, passphrase) are not returned.

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

        Specified by:
        get in interface Config
        Returns:
        com.vmware.nsx_policy.model.BackupConfiguration
      • get

        public BackupConfiguration get​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Config
        Get a configuration of a file server and timers for automated backup. Fields that contain secrets (password, passphrase) are not returned.

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

        public void get​(com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback)
        Description copied from interface: Config
        Get a configuration of a file server and timers for automated backup. Fields that contain secrets (password, passphrase) are not returned.

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

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

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

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

        public void get​(com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Config
        Get a configuration of a file server and timers for automated backup. Fields that contain secrets (password, passphrase) are not returned.

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

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

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

        public BackupConfiguration update​(BackupConfiguration backupConfiguration,
                                          java.lang.String frameType,
                                          java.lang.String siteId)
        Description copied from interface: Config
        Configure file server and timers for automated backup. If secret fields are omitted (password, passphrase) then use the previously set value.

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

        Specified by:
        update in interface Config
        Parameters:
        backupConfiguration - (required)
        frameType - Frame type (optional, default to LOCAL_LOCAL_MANAGER)
        siteId - Site ID (optional, default to localhost)
        Returns:
        com.vmware.nsx_policy.model.BackupConfiguration
      • update

        public BackupConfiguration update​(BackupConfiguration backupConfiguration,
                                          java.lang.String frameType,
                                          java.lang.String siteId,
                                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Config
        Configure file server and timers for automated backup. If secret fields are omitted (password, passphrase) then use the previously set value.

        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 Config
        Parameters:
        backupConfiguration - (required)
        frameType - Frame type (optional, default to LOCAL_LOCAL_MANAGER)
        siteId - Site ID (optional, default to localhost)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.BackupConfiguration
      • update

        public void update​(BackupConfiguration backupConfiguration,
                           java.lang.String frameType,
                           java.lang.String siteId,
                           com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback)
        Description copied from interface: Config
        Configure file server and timers for automated backup. If secret fields are omitted (password, passphrase) then use the previously set value.

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

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

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

        Specified by:
        update in interface Config
        Parameters:
        backupConfiguration - (required)
        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.
      • update

        public void update​(BackupConfiguration backupConfiguration,
                           java.lang.String frameType,
                           java.lang.String siteId,
                           com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Config
        Configure file server and timers for automated backup. If secret fields are omitted (password, passphrase) then use the previously set value.

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

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

        Specified by:
        update in interface Config
        Parameters:
        backupConfiguration - (required)
        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.