public class SnapserviceFactory
extends java.lang.Object
SnapserviceFactory
is responsible for creating instances of services
contained inside the com.vmware.snapservice package and also has the subpackages reference
to access respective subpackage services.
Modifier and Type | Method and Description |
---|---|
ClustersFactory |
clusters()
The
com.vmware.snapservice.clusters package provides interfaces for
managing protection groups and snapshots in a vSAN cluster. |
static SnapserviceFactory |
getFactory(com.vmware.vapi.bindings.StubFactory stubFactory,
com.vmware.vapi.bindings.StubConfiguration stubConfig)
Creates the new instance of this class with provided configuration
|
InfoFactory |
info()
The
com.vmware.snapservice.info package provides interfaces to fetch
general information regarding Snapshot Service. |
TasksFactory |
tasks()
The
com.vmware.snapservice.tasks package provides interfaces to fetch
general information regarding vSAN snapshot service tasks. |
Tasks |
tasksService()
Returns an instance of class
Tasks |
void |
updateStubConfiguration(com.vmware.vapi.bindings.StubFactory stubFactory,
com.vmware.vapi.bindings.StubConfiguration stubConfig) |
public static SnapserviceFactory getFactory(com.vmware.vapi.bindings.StubFactory stubFactory, com.vmware.vapi.bindings.StubConfiguration stubConfig)
stubFactory
- StubFactory
instance is responsible for creating stubsstubConfig
- StubConfiguration
instance is required to authenticate the requestSnapserviceFactory
factory instancepublic ClustersFactory clusters()
com.vmware.snapservice.clusters
package provides interfaces for
managing protection groups and snapshots in a vSAN cluster.public InfoFactory info()
com.vmware.snapservice.info
package provides interfaces to fetch
general information regarding Snapshot Service.public TasksFactory tasks()
com.vmware.snapservice.tasks
package provides interfaces to fetch
general information regarding vSAN snapshot service tasks.public void updateStubConfiguration(com.vmware.vapi.bindings.StubFactory stubFactory, com.vmware.vapi.bindings.StubConfiguration stubConfig)