public class ResourceTypesStub extends com.vmware.vapi.internal.bindings.Stub implements ResourceTypes
ResourceTypes
API service.
WARNING: Internal class, subject to change in future versions.
ResourceTypesTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
ResourceTypesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ResourceTypesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ResourceTypesTypes.Summary> |
list()
Returns a list of available resource types.
|
void |
list(AsyncCallback<java.util.List<ResourceTypesTypes.Summary>> asyncCallback)
Returns a list of available resource types.
|
void |
list(AsyncCallback<java.util.List<ResourceTypesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns a list of available resource types.
|
java.util.List<ResourceTypesTypes.Summary> |
list(InvocationConfig invocationConfig)
Returns a list of available resource types.
|
public ResourceTypesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ResourceTypesStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<ResourceTypesTypes.Summary> list()
ResourceTypes
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ResourceTypes
public java.util.List<ResourceTypesTypes.Summary> list(InvocationConfig invocationConfig)
ResourceTypes
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface ResourceTypes
invocationConfig
- Configuration for the method invocation.public void list(AsyncCallback<java.util.List<ResourceTypesTypes.Summary>> asyncCallback)
ResourceTypes
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of resource types.
Operation Errors:
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
list
in interface ResourceTypes
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<java.util.List<ResourceTypesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
ResourceTypes
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:
List of resource types.
Operation Errors:
Error
- if the system reports an error while responding to the request.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
list
in interface ResourceTypes
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.