Class RegistrationTokenStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.aaa.RegistrationTokenStub
-
- All Implemented Interfaces:
RegistrationToken,RegistrationTokenTypes,com.vmware.vapi.bindings.Service
public class RegistrationTokenStub extends com.vmware.vapi.internal.bindings.Stub implements RegistrationToken
Remote stub implementation of theRegistrationTokenAPI 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.aaa.RegistrationTokenTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description RegistrationTokenStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)RegistrationTokenStub(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 the same as the caller.voidcreate(com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)The privileges of the registration token will be the same as the caller.voidcreate(com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)The privileges of the registration token will be the same as the caller.RegistrationTokencreate(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)The privileges of the registration token will be the same as the caller.voiddelete(java.lang.String token)Delete registration access token
Use API POST /api/v1/aaa/registration-token/deletevoiddelete(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Delete registration access token
Use API POST /api/v1/aaa/registration-token/deletevoiddelete(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete registration access token
Use API POST /api/v1/aaa/registration-token/deletevoiddelete(java.lang.String token, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Delete registration access token
Use API POST /api/v1/aaa/registration-token/deleteRegistrationTokenget(java.lang.String token)Get registration access token
Use API POST /api/v1/aaa/registration-token/retrievevoidget(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)Get registration access token
Use API POST /api/v1/aaa/registration-token/retrievevoidget(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Get registration access token
Use API POST /api/v1/aaa/registration-token/retrieveRegistrationTokenget(java.lang.String token, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Get registration access token
Use API POST /api/v1/aaa/registration-token/retrieve
-
-
-
Constructor Detail
-
RegistrationTokenStub
public RegistrationTokenStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
RegistrationTokenStub
public RegistrationTokenStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
create
public RegistrationToken create()
Description copied from interface:RegistrationTokenThe privileges of the registration token will be the same as the caller.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
createin interfaceRegistrationToken- Returns:
- com.vmware.nsx_policy.model.RegistrationToken
-
create
public RegistrationToken create(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:RegistrationTokenThe privileges of the registration token will be the same as the caller.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 interfaceRegistrationToken- 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:RegistrationTokenThe privileges of the registration token will be the same as the caller.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 interfaceRegistrationToken- 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:RegistrationTokenThe privileges of the registration token will be the same as the caller.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 interfaceRegistrationToken- Parameters:
asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
delete
public void delete(java.lang.String token)
Description copied from interface:RegistrationTokenDelete registration access token
Use API POST /api/v1/aaa/registration-token/deleteSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
deletein interfaceRegistrationToken- Parameters:
token- Registration token (required)
-
delete
public void delete(java.lang.String token, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:RegistrationTokenDelete registration access token
Use API POST /api/v1/aaa/registration-token/deleteSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfigto specify configuration for this particular invocation.- Specified by:
deletein interfaceRegistrationToken- Parameters:
token- Registration token (required)invocationConfig- Configuration for the method invocation.
-
delete
public void delete(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Description copied from interface:RegistrationTokenDelete registration access token
Use API POST /api/v1/aaa/registration-token/deleteAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback.Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
deletein interfaceRegistrationToken- Parameters:
token- Registration token (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
delete
public void delete(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:RegistrationTokenDelete registration access token
Use API POST /api/v1/aaa/registration-token/deleteAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback. UseinvocationConfigto specify configuration for this particular invocation.Operation Errors:
InvalidRequest- Bad Request, Precondition Failed
Unauthorized- Forbidden
ServiceUnavailable- Service Unavailable
InternalServerError- Internal Server Error
NotFound- Not Found
- Specified by:
deletein interfaceRegistrationToken- Parameters:
token- Registration token (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
get
public RegistrationToken get(java.lang.String token)
Description copied from interface:RegistrationTokenGet registration access token
Use API POST /api/v1/aaa/registration-token/retrieveSynchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
getin interfaceRegistrationToken- Parameters:
token- Registration token (required)- Returns:
- com.vmware.nsx_policy.model.RegistrationToken
-
get
public RegistrationToken get(java.lang.String token, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:RegistrationTokenGet registration access token
Use API POST /api/v1/aaa/registration-token/retrieveSynchronous 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 interfaceRegistrationToken- Parameters:
token- Registration token (required)invocationConfig- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.RegistrationToken
-
get
public void get(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)Description copied from interface:RegistrationTokenGet registration access token
Use API POST /api/v1/aaa/registration-token/retrieveAsynchronous 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:
getin interfaceRegistrationToken- Parameters:
token- Registration token (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Description copied from interface:RegistrationTokenGet registration access token
Use API POST /api/v1/aaa/registration-token/retrieveAsynchronous 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:
getin interfaceRegistrationToken- Parameters:
token- Registration token (required)asyncCallback- Receives the status (progress, result or error) of the operation invocation.invocationConfig- Configuration for the method invocation.
-
-