public class ResourceStub extends com.vmware.vapi.internal.bindings.Stub implements Resource
Resource
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
ResourceStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ResourceStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.lang.String> |
list()
Returns the set of resource types present across all the service elements
contained in all the package elements.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.Set<java.lang.String>> asyncCallback)
Returns the set of resource types present across all the service elements
contained in all the package elements.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.Set<java.lang.String>> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the set of resource types present across all the service elements
contained in all the package elements.
|
java.util.Set<java.lang.String> |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the set of resource types present across all the service elements
contained in all the package elements.
|
public ResourceStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ResourceStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public java.util.Set<java.lang.String> list()
Resource
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.Set<java.lang.String> list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Resource
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 list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.Set<java.lang.String>> asyncCallback)
Resource
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Set of resource types
The return value will contain identifiers for the resource type: com.vmware.vapi.resource
.
public void list(com.vmware.vapi.bindings.client.AsyncCallback<java.util.Set<java.lang.String>> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Resource
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:
Set of resource types
The return value will contain identifiers for the resource type: com.vmware.vapi.resource
.