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()
RegistrationTokenSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface RegistrationTokenpublic RegistrationToken create(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RegistrationTokenSynchronous 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 RegistrationTokeninvocationConfig - Configuration for the method invocation.public void create(com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)
RegistrationTokenAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_global_policy.model.RegistrationToken
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
create in interface RegistrationTokenasyncCallback - 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)
RegistrationTokenAsynchronous 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_global_policy.model.RegistrationToken
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
create in interface RegistrationTokenasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String token)
RegistrationTokenSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface RegistrationTokentoken - Registration token (required)public void delete(java.lang.String token,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RegistrationTokenSynchronous 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 RegistrationTokentoken - 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)
RegistrationTokenAsynchronous 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 RegistrationTokentoken - 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)
RegistrationTokenAsynchronous 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 RegistrationTokentoken - 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)
RegistrationTokenSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface RegistrationTokentoken - Registration token (required)public RegistrationToken get(java.lang.String token, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RegistrationTokenSynchronous 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 RegistrationTokentoken - Registration token (required)invocationConfig - Configuration for the method invocation.public void get(java.lang.String token,
com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)
RegistrationTokenAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_global_policy.model.RegistrationToken
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface RegistrationTokentoken - 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)
RegistrationTokenAsynchronous 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_global_policy.model.RegistrationToken
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface RegistrationTokentoken - Registration token (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.