public class ConfigurationStub extends com.vmware.vapi.internal.bindings.Stub implements Configuration
Configuration
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ConfigurationStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ConfigurationStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationModel |
get()
Retrieves the current configuration values.
|
void |
get(AsyncCallback<ConfigurationModel> asyncCallback)
Retrieves the current configuration values.
|
void |
get(AsyncCallback<ConfigurationModel> asyncCallback,
InvocationConfig invocationConfig)
Retrieves the current configuration values.
|
ConfigurationModel |
get(InvocationConfig invocationConfig)
Retrieves the current configuration values.
|
void |
update(ConfigurationModel model)
Updates the configuration.
|
void |
update(ConfigurationModel model,
AsyncCallback<java.lang.Void> asyncCallback)
Updates the configuration.
|
void |
update(ConfigurationModel model,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Updates the configuration.
|
void |
update(ConfigurationModel model,
InvocationConfig invocationConfig)
Updates the configuration.
|
public ConfigurationStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ConfigurationStub(ApiProvider apiProvider, StubConfigurationBase config)
public void update(ConfigurationModel model)
ConfigurationConfigurationModel class that is null will not be
modified. Note that this update method doesn't guarantee an atomic change of all
the properties. In the case of a system crash or failure, some of the properties
could be left unchanged while others may be updated.
Synchronous method overload. Result of the invocation will be reported as a method return value.
update in interface Configurationmodel - The ConfigurationModel specifying the settings to
update.public void update(ConfigurationModel model, InvocationConfig invocationConfig)
ConfigurationConfigurationModel class that is null will not be
modified. Note that this update method doesn't guarantee an atomic change of all
the properties. In the case of a system crash or failure, some of the properties
could be left unchanged while others may be updated.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
update in interface Configurationmodel - The ConfigurationModel specifying the settings to
update.invocationConfig - Configuration for the method invocation.public void update(ConfigurationModel model, AsyncCallback<java.lang.Void> asyncCallback)
ConfigurationConfigurationModel class that is null will not be
modified. Note that this update method doesn't guarantee an atomic change of all
the properties. In the case of a system crash or failure, some of the properties
could be left unchanged while others may be updated.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
InvalidArgument - if one of the configuration properties is not within the proper range.
Unauthorized - if you do not have all of the privileges described as follows:
ContentLibrary.UpdateConfiguration. update in interface Configurationmodel - The ConfigurationModel specifying the settings to
update.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update(ConfigurationModel model, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
ConfigurationConfigurationModel class that is null will not be
modified. Note that this update method doesn't guarantee an atomic change of all
the properties. In the case of a system crash or failure, some of the properties
could be left unchanged while others may be updated.
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 one of the configuration properties is not within the proper range.
Unauthorized - if you do not have all of the privileges described as follows:
ContentLibrary.UpdateConfiguration. update in interface Configurationmodel - The ConfigurationModel specifying the settings to
update.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public ConfigurationModel get()
ConfigurationSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface ConfigurationConfigurationModel instance representing the
configuration of the Content Library Service.public ConfigurationModel get(InvocationConfig invocationConfig)
ConfigurationSynchronous 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 ConfigurationinvocationConfig - Configuration for the method invocation.ConfigurationModel instance representing the
configuration of the Content Library Service.public void get(AsyncCallback<ConfigurationModel> asyncCallback)
ConfigurationAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
The ConfigurationModel instance representing the
configuration of the Content Library Service.
Operation Errors:
Unauthorized - if you do not have all of the privileges described as follows:
ContentLibrary.GetConfiguration. get in interface ConfigurationasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<ConfigurationModel> asyncCallback, InvocationConfig invocationConfig)
ConfigurationAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
The ConfigurationModel instance representing the
configuration of the Content Library Service.
Operation Errors:
Unauthorized - if you do not have all of the privileges described as follows:
ContentLibrary.GetConfiguration. get in interface ConfigurationasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.