Class UserStatsStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.settings.firewall.idfw.UserStatsStub
-
- All Implemented Interfaces:
UserStats,UserStatsTypes,com.vmware.vapi.bindings.Service
public class UserStatsStub extends com.vmware.vapi.internal.bindings.Stub implements UserStats
Remote stub implementation of theUserStatsAPI 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.settings.firewall.idfw.UserStatsTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description UserStatsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)UserStatsStub(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 IdfwUserStatsget(java.lang.String userId, java.lang.String enforcementPointPath)It will get IDFW user login events for a given user.voidget(java.lang.String userId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<IdfwUserStats> asyncCallback)It will get IDFW user login events for a given user.voidget(java.lang.String userId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<IdfwUserStats> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)It will get IDFW user login events for a given user.IdfwUserStatsget(java.lang.String userId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)It will get IDFW user login events for a given user.
-
-
-
Constructor Detail
-
UserStatsStub
public UserStatsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
UserStatsStub
public UserStatsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public IdfwUserStats get(java.lang.String userId, java.lang.String enforcementPointPath)
Description copied from interface:UserStatsIt will get IDFW user login events for a given user.Synchronous method overload. Result of the invocation will be reported as a method return value.
-
get
public IdfwUserStats get(java.lang.String userId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:UserStatsIt will get IDFW user login events for a given user.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.
-
get
public void get(java.lang.String userId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<IdfwUserStats> asyncCallback)Description copied from interface:UserStatsIt will get IDFW user login events for a given user.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.IdfwUserStatsOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
-
get
public void get(java.lang.String userId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<IdfwUserStats> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:UserStatsIt will get IDFW user login events for a given user.Asynchronous 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.IdfwUserStatsOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
getin interfaceUserStats- Parameters:
userId- User id (required)enforcementPointPath- String Path of the enforcement point (optional)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
-