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(ApiProvider apiProvider,
StubConfigurationBase config) |
ResourceStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
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(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(AsyncCallback<java.util.Set<java.lang.String>> asyncCallback,
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(InvocationConfig invocationConfig)
Returns the set of resource types present across all the service elements
contained in all the package elements.
|
public ResourceStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ResourceStub(ApiProvider apiProvider, 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(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(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(AsyncCallback<java.util.Set<java.lang.String>> asyncCallback, 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
.