Class MaintenanceStub

  • All Implemented Interfaces:
    Maintenance, MaintenanceTypes, com.vmware.vapi.bindings.Service

    public class MaintenanceStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements Maintenance
    Remote stub implementation of the Maintenance 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
      MaintenanceStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      MaintenanceStub​(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
      AnalyticsMaintenanceMode get()
      Get current status of maintenance mode for Analytics agents
      void get​(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)
      Get current status of maintenance mode for Analytics agents
      void get​(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get current status of maintenance mode for Analytics agents
      AnalyticsMaintenanceMode get​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get current status of maintenance mode for Analytics agents
      AnalyticsMaintenanceMode update​(AnalyticsMaintenanceMode analyticsMaintenanceMode)
      Activate/deactivate maintenance mode for Analytics agents
      void update​(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)
      Activate/deactivate maintenance mode for Analytics agents
      void update​(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Activate/deactivate maintenance mode for Analytics agents
      AnalyticsMaintenanceMode update​(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Activate/deactivate maintenance mode for Analytics agents
      • 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

      • MaintenanceStub

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

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

      • get

        public AnalyticsMaintenanceMode get()
        Description copied from interface: Maintenance
        Get current status of maintenance mode for Analytics agents

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

        Specified by:
        get in interface Maintenance
        Returns:
        com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
      • get

        public AnalyticsMaintenanceMode get​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Maintenance
        Get current status of maintenance mode for Analytics agents

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

        public void get​(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)
        Description copied from interface: Maintenance
        Get current status of maintenance mode for Analytics agents

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

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

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

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

        public void get​(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Maintenance
        Get current status of maintenance mode for Analytics agents

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

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

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

        public AnalyticsMaintenanceMode update​(AnalyticsMaintenanceMode analyticsMaintenanceMode)
        Description copied from interface: Maintenance
        Activate/deactivate maintenance mode for Analytics agents

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

        Specified by:
        update in interface Maintenance
        Parameters:
        analyticsMaintenanceMode - (required)
        Returns:
        com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
      • update

        public AnalyticsMaintenanceMode update​(AnalyticsMaintenanceMode analyticsMaintenanceMode,
                                               com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Maintenance
        Activate/deactivate maintenance mode for Analytics agents

        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 Maintenance
        Parameters:
        analyticsMaintenanceMode - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
      • update

        public void update​(AnalyticsMaintenanceMode analyticsMaintenanceMode,
                           com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)
        Description copied from interface: Maintenance
        Activate/deactivate maintenance mode for Analytics agents

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

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

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

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

        public void update​(AnalyticsMaintenanceMode analyticsMaintenanceMode,
                           com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Maintenance
        Activate/deactivate maintenance mode for Analytics agents

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

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

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