public class LocaleStub extends com.vmware.vapi.internal.bindings.Stub implements Locale
Locale
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
LocaleStub(ApiProvider apiProvider,
StubConfigurationBase config) |
LocaleStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
VmcLocale |
set(VmcLocale vmcLocale)
Sets the locale for the session which is used for translating responses.
|
void |
set(VmcLocale vmcLocale,
AsyncCallback<VmcLocale> asyncCallback)
Sets the locale for the session which is used for translating responses.
|
void |
set(VmcLocale vmcLocale,
AsyncCallback<VmcLocale> asyncCallback,
InvocationConfig invocationConfig)
Sets the locale for the session which is used for translating responses.
|
VmcLocale |
set(VmcLocale vmcLocale,
InvocationConfig invocationConfig)
Sets the locale for the session which is used for translating responses.
|
public LocaleStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public LocaleStub(ApiProvider apiProvider, StubConfigurationBase config)
public VmcLocale set(VmcLocale vmcLocale)
Locale
Synchronous method overload. Result of the invocation will be reported as a method return value.
public VmcLocale set(VmcLocale vmcLocale, InvocationConfig invocationConfig)
Locale
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 set(VmcLocale vmcLocale, AsyncCallback<VmcLocale> asyncCallback)
Locale
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.vmc.model.VmcLocale
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden
public void set(VmcLocale vmcLocale, AsyncCallback<VmcLocale> asyncCallback, InvocationConfig invocationConfig)
Locale
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.vmc.model.VmcLocale
Operation Errors:
Unauthenticated
- Unauthorized
Unauthorized
- Forbidden