public interface Locale extends Service, LocaleTypes
_VAPI_SERVICE_ID
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.
|
VmcLocale set(VmcLocale vmcLocale)
Synchronous method overload. Result of the invocation will be reported as a method return value.
vmcLocale
- The locale to be set. (required)Unauthenticated
- UnauthorizedUnauthorized
- ForbiddenVmcLocale set(VmcLocale vmcLocale, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
vmcLocale
- The locale to be set. (required)invocationConfig
- Configuration for the method invocation.Unauthenticated
- UnauthorizedUnauthorized
- Forbiddenvoid set(VmcLocale vmcLocale, AsyncCallback<VmcLocale> asyncCallback)
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
vmcLocale
- The locale to be set. (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void set(VmcLocale vmcLocale, AsyncCallback<VmcLocale> asyncCallback, InvocationConfig invocationConfig)
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
vmcLocale
- The locale to be set. (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.