Class SensorRegistrationTokenStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.security.SensorRegistrationTokenStub
-
- All Implemented Interfaces:
SensorRegistrationToken,SensorRegistrationTokenTypes,com.vmware.vapi.bindings.Service
public class SensorRegistrationTokenStub extends com.vmware.vapi.internal.bindings.Stub implements SensorRegistrationToken
Remote stub implementation of theSensorRegistrationTokenAPI 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.security.SensorRegistrationTokenTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description SensorRegistrationTokenStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)SensorRegistrationTokenStub(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 RegistrationTokencreate()The privileges of the registration token will be user with sensor role.voidcreate(com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)The privileges of the registration token will be user with sensor role.voidcreate(com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)The privileges of the registration token will be user with sensor role.RegistrationTokencreate(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)The privileges of the registration token will be user with sensor role.
-
-
-
Constructor Detail
-
SensorRegistrationTokenStub
public SensorRegistrationTokenStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
SensorRegistrationTokenStub
public SensorRegistrationTokenStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
create
public RegistrationToken create()
Description copied from interface:SensorRegistrationTokenThe privileges of the registration token will be user with sensor role.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
createin interfaceSensorRegistrationToken- Returns:
- com.vmware.nsx_policy.model.RegistrationToken
-
create
public RegistrationToken create(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:SensorRegistrationTokenThe privileges of the registration token will be user with sensor role.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
createin interfaceSensorRegistrationToken- Parameters:
invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.RegistrationToken
-
create
public void create(com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)
Description copied from interface:SensorRegistrationTokenThe privileges of the registration token will be user with sensor role.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Invocation Result:
com.vmware.nsx_policy.model.RegistrationTokenOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
createin interfaceSensorRegistrationToken- Parameters:
asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
create
public void create(com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:SensorRegistrationTokenThe privileges of the registration token will be user with sensor role.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.RegistrationTokenOperation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
createin interfaceSensorRegistrationToken- Parameters:
asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
-