public class LatestStub extends com.vmware.vapi.internal.bindings.Stub implements Latest
Latest
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
LatestStub(ApiProvider apiProvider,
StubConfigurationBase config) |
LatestStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get()
Returns a marker to the last recorded privilege check.
|
void |
get(AsyncCallback<java.lang.String> asyncCallback)
Returns a marker to the last recorded privilege check.
|
void |
get(AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Returns a marker to the last recorded privilege check.
|
java.lang.String |
get(InvocationConfig invocationConfig)
Returns a marker to the last recorded privilege check.
|
public LatestStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public LatestStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String get()
Latest
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.lang.String get(InvocationConfig invocationConfig)
Latest
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 get(AsyncCallback<java.lang.String> asyncCallback)
Latest
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
A marker for the most recently recorded privilege check.
Operation Errors:
Error
- if there is a generic error.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
Sessions.CollectPrivilegeChecks
. public void get(AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Latest
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:
A marker for the most recently recorded privilege check.
Operation Errors:
Error
- if there is a generic error.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if you do not have all of the privileges described as follows:
Sessions.CollectPrivilegeChecks
.