public class SyncScheduleStub extends com.vmware.vapi.internal.bindings.Stub implements SyncSchedule
SyncSchedule
API service.
WARNING: Internal class, subject to change in future versions.
SyncScheduleTypes.DayOfWeek, SyncScheduleTypes.Recurrence, SyncScheduleTypes.Schedule, SyncScheduleTypes.SpecapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
SyncScheduleStub(ApiProvider apiProvider,
StubConfigurationBase config) |
SyncScheduleStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
SyncScheduleTypes.Spec |
get()
Returns the currently configured software depot sync schedule.
|
void |
get(AsyncCallback<SyncScheduleTypes.Spec> asyncCallback)
Returns the currently configured software depot sync schedule.
|
void |
get(AsyncCallback<SyncScheduleTypes.Spec> asyncCallback,
InvocationConfig invocationConfig)
Returns the currently configured software depot sync schedule.
|
SyncScheduleTypes.Spec |
get(InvocationConfig invocationConfig)
Returns the currently configured software depot sync schedule.
|
void |
set(SyncScheduleTypes.Spec spec)
Sets the software depot sync schedule.
|
void |
set(SyncScheduleTypes.Spec spec,
AsyncCallback<java.lang.Void> asyncCallback)
Sets the software depot sync schedule.
|
void |
set(SyncScheduleTypes.Spec spec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Sets the software depot sync schedule.
|
void |
set(SyncScheduleTypes.Spec spec,
InvocationConfig invocationConfig)
Sets the software depot sync schedule.
|
public SyncScheduleStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public SyncScheduleStub(ApiProvider apiProvider, StubConfigurationBase config)
public SyncScheduleTypes.Spec get()
SyncScheduleSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface SyncSchedulepublic SyncScheduleTypes.Spec get(InvocationConfig invocationConfig)
SyncScheduleSynchronous 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 SyncScheduleinvocationConfig - Configuration for the method invocation.public void get(AsyncCallback<SyncScheduleTypes.Spec> asyncCallback)
SyncScheduleAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Currently configured sync schedule.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
ServiceUnavailable - If the service is not available.
Error - If there is some unknown error. The accompanying error message will give more
details about the failure.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read. get in interface SyncScheduleasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<SyncScheduleTypes.Spec> asyncCallback, InvocationConfig invocationConfig)
SyncScheduleAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
Currently configured sync schedule.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
ServiceUnavailable - If the service is not available.
Error - If there is some unknown error. The accompanying error message will give more
details about the failure.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read. get in interface SyncScheduleasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void set(SyncScheduleTypes.Spec spec)
SyncScheduleSynchronous method overload. Result of the invocation will be reported as a method return value.
set in interface SyncSchedulespec - Information of the software depot sync schedule.
If null, it will be reset to the default schedule, which is daily at a
random hour chosen when this API is called.public void set(SyncScheduleTypes.Spec spec, InvocationConfig invocationConfig)
SyncScheduleSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
set in interface SyncSchedulespec - Information of the software depot sync schedule.
If null, it will be reset to the default schedule, which is daily at a
random hour chosen when this API is called.invocationConfig - Configuration for the method invocation.public void set(SyncScheduleTypes.Spec spec, AsyncCallback<java.lang.Void> asyncCallback)
SyncScheduleAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
ServiceUnavailable - If the service is not available.
InvalidArgument - If SyncScheduleTypes.Spec.getSchedule() is
unset while SyncScheduleTypes.Spec.getEnabled() is set to true
or if any of the values is not within valid range.
Error - If there is some unknown error. The accompanying error message will give more
details about the failure.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Write. set in interface SyncSchedulespec - Information of the software depot sync schedule.
If null, it will be reset to the default schedule, which is daily at a
random hour chosen when this API is called.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void set(SyncScheduleTypes.Spec spec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
SyncScheduleAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated - if the caller is not authenticated.
ServiceUnavailable - If the service is not available.
InvalidArgument - If SyncScheduleTypes.Spec.getSchedule() is
unset while SyncScheduleTypes.Spec.getEnabled() is set to true
or if any of the values is not within valid range.
Error - If there is some unknown error. The accompanying error message will give more
details about the failure.
Unauthorized - if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Write. set in interface SyncSchedulespec - Information of the software depot sync schedule.
If null, it will be reset to the default schedule, which is daily at a
random hour chosen when this API is called.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.