public class RetrieveStub extends com.vmware.vapi.internal.bindings.Stub implements Retrieve
Retrieve
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
RetrieveStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
RetrieveStub(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(RegTokenQuery regTokenQuery)
Get the roles associated with the given registration token
|
void |
create(RegTokenQuery regTokenQuery,
com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)
Get the roles associated with the given registration token
|
void |
create(RegTokenQuery regTokenQuery,
com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the roles associated with the given registration token
|
RegistrationToken |
create(RegTokenQuery regTokenQuery,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the roles associated with the given registration token
|
public RetrieveStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public RetrieveStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public RegistrationToken create(RegTokenQuery regTokenQuery)
Retrieve
Synchronous method overload. Result of the invocation will be reported as a method return value.
public RegistrationToken create(RegTokenQuery regTokenQuery, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieve
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void create(RegTokenQuery regTokenQuery, com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)
Retrieve
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
public void create(RegTokenQuery regTokenQuery, com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieve
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