public class TimezoneStub extends com.vmware.vapi.internal.bindings.Stub implements Timezone
Timezone
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
TimezoneStub(ApiProvider apiProvider,
StubConfigurationBase config) |
TimezoneStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get()
Get time zone.
|
void |
get(AsyncCallback<java.lang.String> asyncCallback)
Get time zone.
|
void |
get(AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Get time zone.
|
java.lang.String |
get(InvocationConfig invocationConfig)
Get time zone.
|
void |
set(java.lang.String name)
Set time zone.
|
void |
set(java.lang.String name,
AsyncCallback<java.lang.Void> asyncCallback)
Set time zone.
|
void |
set(java.lang.String name,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Set time zone.
|
void |
set(java.lang.String name,
InvocationConfig invocationConfig)
Set time zone.
|
public TimezoneStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public TimezoneStub(ApiProvider apiProvider, StubConfigurationBase config)
public void set(java.lang.String name)
Timezone
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void set(java.lang.String name, InvocationConfig invocationConfig)
Timezone
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(java.lang.String name, AsyncCallback<java.lang.Void> asyncCallback)
Timezone
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidArgument
- if passed arguments are invalid.
Error
- if any error occurs during the execution of the operation.
public void set(java.lang.String name, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Timezone
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
InvalidArgument
- if passed arguments are invalid.
Error
- if any error occurs during the execution of the operation.
public java.lang.String get()
Timezone
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.lang.String get(InvocationConfig invocationConfig)
Timezone
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)
Timezone
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Time zone name.
Operation Errors:
Error
- if timezone cannot be read.
public void get(AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Timezone
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:
Time zone name.
Operation Errors:
Error
- if timezone cannot be read.