public class RegistrationTokenStub extends com.vmware.vapi.internal.bindings.Stub implements RegistrationToken
RegistrationToken
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and 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) |
Modifier and Type | Method and 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/delete |
void |
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/delete |
void |
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/delete |
void |
delete(java.lang.String token,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete registration access token
Use API POST /api/v1/aaa/registration-token/delete |
RegistrationToken |
get(java.lang.String token)
Get registration access token
Use API POST /api/v1/aaa/registration-token/retrieve |
void |
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/retrieve |
void |
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/retrieve |
RegistrationToken |
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 |
public RegistrationTokenStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public RegistrationTokenStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public RegistrationToken create()
RegistrationToken
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface RegistrationToken
public RegistrationToken create(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RegistrationToken
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface RegistrationToken
invocationConfig
- Configuration for the method invocation.public void create(com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)
RegistrationToken
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.RegistrationToken
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface RegistrationToken
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RegistrationToken
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.RegistrationToken
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface RegistrationToken
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String token)
RegistrationToken
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface RegistrationToken
token
- Registration token (required)public void delete(java.lang.String token, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RegistrationToken
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface RegistrationToken
token
- Registration token (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
RegistrationToken
Asynchronous 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
delete
in interface RegistrationToken
token
- Registration token (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RegistrationToken
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
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
delete
in interface RegistrationToken
token
- Registration token (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public RegistrationToken get(java.lang.String token)
RegistrationToken
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface RegistrationToken
token
- Registration token (required)public RegistrationToken get(java.lang.String token, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RegistrationToken
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface RegistrationToken
token
- Registration token (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)
RegistrationToken
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.RegistrationToken
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface RegistrationToken
token
- Registration token (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RegistrationToken
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.RegistrationToken
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface RegistrationToken
token
- Registration token (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.