Class MaintenanceStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.sites.agents.intelligence.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 theMaintenanceAPI 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
-
Fields inherited from interface com.vmware.nsx_policy.infra.sites.agents.intelligence.MaintenanceTypes
_VAPI_SERVICE_ID
-
-
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 AnalyticsMaintenanceModeget()Get current status of maintenance mode for Analytics agentsvoidget(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)Get current status of maintenance mode for Analytics agentsvoidget(com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Get current status of maintenance mode for Analytics agentsAnalyticsMaintenanceModeget(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Get current status of maintenance mode for Analytics agentsAnalyticsMaintenanceModeupdate(AnalyticsMaintenanceMode analyticsMaintenanceMode)Activate/deactivate maintenance mode for Analytics agentsvoidupdate(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback)Activate/deactivate maintenance mode for Analytics agentsvoidupdate(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.AsyncCallback<AnalyticsMaintenanceMode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Activate/deactivate maintenance mode for Analytics agentsAnalyticsMaintenanceModeupdate(AnalyticsMaintenanceMode analyticsMaintenanceMode, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Activate/deactivate maintenance mode for Analytics agents
-
-
-
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:MaintenanceGet current status of maintenance mode for Analytics agentsSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
getin interfaceMaintenance- Returns:
- com.vmware.nsx_policy.model.AnalyticsMaintenanceMode
-
get
public AnalyticsMaintenanceMode get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:MaintenanceGet current status of maintenance mode for Analytics agentsSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
getin interfaceMaintenance- 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:MaintenanceGet current status of maintenance mode for Analytics agentsAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.AnalyticsMaintenanceModeOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfaceMaintenance- 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:MaintenanceGet current status of maintenance mode for Analytics agentsAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.AnalyticsMaintenanceModeOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfaceMaintenance- 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:MaintenanceActivate/deactivate maintenance mode for Analytics agentsSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
updatein interfaceMaintenance- 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:MaintenanceActivate/deactivate maintenance mode for Analytics agentsSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
updatein interfaceMaintenance- 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:MaintenanceActivate/deactivate maintenance mode for Analytics agentsAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.AnalyticsMaintenanceModeOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
updatein interfaceMaintenance- 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:MaintenanceActivate/deactivate maintenance mode for Analytics agentsAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.AnalyticsMaintenanceModeOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
updatein interfaceMaintenance- Parameters:
analyticsMaintenanceMode- (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
-