public class ConfigurationStub extends com.vmware.vapi.internal.bindings.Stub implements Configuration
Configuration
API service.
WARNING: Internal class, subject to change in future versions.
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)
Configuration
ConfigurationModel
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 Configuration
model
- The ConfigurationModel
specifying the settings to
update.public void update(ConfigurationModel model, InvocationConfig invocationConfig)
Configuration
ConfigurationModel
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 Configuration
model
- The ConfigurationModel
specifying the settings to
update.invocationConfig
- Configuration for the method invocation.public void update(ConfigurationModel model, AsyncCallback<java.lang.Void> asyncCallback)
Configuration
ConfigurationModel
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 Configuration
model
- 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)
Configuration
ConfigurationModel
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 Configuration
model
- 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()
Configuration
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Configuration
ConfigurationModel
instance representing the
configuration of the Content Library Service.public ConfigurationModel get(InvocationConfig invocationConfig)
Configuration
Synchronous 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 Configuration
invocationConfig
- Configuration for the method invocation.ConfigurationModel
instance representing the
configuration of the Content Library Service.public void get(AsyncCallback<ConfigurationModel> asyncCallback)
Configuration
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation 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 Configuration
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<ConfigurationModel> asyncCallback, InvocationConfig invocationConfig)
Configuration
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation 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 Configuration
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.