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 theRegistrationToken
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
-
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 RegistrationToken
create()
The privileges of the registration token will be the same as the caller.void
create(com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)
The privileges of the registration token will be the same as the caller.void
create(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.RegistrationToken
create(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
The privileges of the registration token will be the same as the caller.void
delete(java.lang.String token)
Delete registration access token
Use API POST /api/v1/aaa/registration-token/deletevoid
delete(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/deletevoid
delete(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/deletevoid
delete(java.lang.String token, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete registration access token
Use API POST /api/v1/aaa/registration-token/deleteRegistrationToken
get(java.lang.String token)
Get registration access token
Use API POST /api/v1/aaa/registration-token/retrievevoid
get(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)
Get registration access token
Use API POST /api/v1/aaa/registration-token/retrievevoid
get(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/retrieveRegistrationToken
get(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:RegistrationToken
The 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:
create
in interfaceRegistrationToken
- Returns:
- com.vmware.nsx_policy.model.RegistrationToken
-
create
public RegistrationToken create(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:RegistrationToken
The 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
invocationConfig
to specify configuration for this particular invocation.- Specified by:
create
in 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:RegistrationToken
The 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:
create
in 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:RegistrationToken
The 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
. UseinvocationConfig
to 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:
create
in 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:RegistrationToken
Delete 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:
delete
in 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:RegistrationToken
Delete 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
invocationConfig
to specify configuration for this particular invocation.- Specified by:
delete
in 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:RegistrationToken
Delete 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:
delete
in 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:RegistrationToken
Delete 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
. UseinvocationConfig
to 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:
delete
in 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:RegistrationToken
Get 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:
get
in 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:RegistrationToken
Get 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
invocationConfig
to specify configuration for this particular invocation.- Specified by:
get
in 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:RegistrationToken
Get 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:
get
in 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:RegistrationToken
Get 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
. UseinvocationConfig
to 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:
get
in interfaceRegistrationToken
- Parameters:
token
- Registration token (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-