public class OperatorClientStub extends com.vmware.vapi.internal.bindings.Stub implements OperatorClient
OperatorClient
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
OperatorClientStub(ApiProvider apiProvider,
StubConfigurationBase config) |
OperatorClientStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
TokenInfo |
get()
Return the operator client token info in Broker.
|
void |
get(AsyncCallback<TokenInfo> asyncCallback)
Return the operator client token info in Broker.
|
void |
get(AsyncCallback<TokenInfo> asyncCallback,
InvocationConfig invocationConfig)
Return the operator client token info in Broker.
|
TokenInfo |
get(InvocationConfig invocationConfig)
Return the operator client token info in Broker.
|
public OperatorClientStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public OperatorClientStub(ApiProvider apiProvider, StubConfigurationBase config)
public TokenInfo get()
OperatorClient
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface OperatorClient
TokenInfo
class that contains
a newly issued operator client token.public TokenInfo get(InvocationConfig invocationConfig)
OperatorClient
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 OperatorClient
invocationConfig
- Configuration for the method invocation.TokenInfo
class that contains
a newly issued operator client token.public void get(AsyncCallback<TokenInfo> asyncCallback)
OperatorClient
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
TokenInfo
class that contains
a newly issued operator client token.
Operation Errors:
Error
- if any other error occurs.
NotFound
- if no operator client details found.
Unauthenticated
- if not authenticated.
Unauthorized
- if not authorized to invoke the operation.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIdentityProviders.Manage
. get
in interface OperatorClient
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<TokenInfo> asyncCallback, InvocationConfig invocationConfig)
OperatorClient
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:
TokenInfo
class that contains
a newly issued operator client token.
Operation Errors:
Error
- if any other error occurs.
NotFound
- if no operator client details found.
Unauthenticated
- if not authenticated.
Unauthorized
- if not authorized to invoke the operation.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIdentityProviders.Manage
. get
in interface OperatorClient
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.