public class ResourceAddressesStub extends com.vmware.vapi.internal.bindings.Stub implements ResourceAddresses
ResourceAddresses
API service.
WARNING: Internal class, subject to change in future versions.
ResourceAddressesTypes.FilterSpec, ResourceAddressesTypes.Info, ResourceAddressesTypes.ListResult
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
ResourceAddressesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ResourceAddressesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
ResourceAddressesTypes.Info |
get(java.lang.String id)
Returns information about a specific Resource Address.
|
void |
get(java.lang.String id,
AsyncCallback<ResourceAddressesTypes.Info> asyncCallback)
Returns information about a specific Resource Address.
|
void |
get(java.lang.String id,
AsyncCallback<ResourceAddressesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns information about a specific Resource Address.
|
ResourceAddressesTypes.Info |
get(java.lang.String id,
InvocationConfig invocationConfig)
Returns information about a specific Resource Address.
|
ResourceAddressesTypes.ListResult |
list(ResourceAddressesTypes.FilterSpec filter)
Returns the list of Resource Addresses matching the filter parameters.
|
void |
list(ResourceAddressesTypes.FilterSpec filter,
AsyncCallback<ResourceAddressesTypes.ListResult> asyncCallback)
Returns the list of Resource Addresses matching the filter parameters.
|
void |
list(ResourceAddressesTypes.FilterSpec filter,
AsyncCallback<ResourceAddressesTypes.ListResult> asyncCallback,
InvocationConfig invocationConfig)
Returns the list of Resource Addresses matching the filter parameters.
|
ResourceAddressesTypes.ListResult |
list(ResourceAddressesTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns the list of Resource Addresses matching the filter parameters.
|
public ResourceAddressesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ResourceAddressesStub(ApiProvider apiProvider, StubConfigurationBase config)
public ResourceAddressesTypes.ListResult list(ResourceAddressesTypes.FilterSpec filter)
ResourceAddresses
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ResourceAddresses
filter
- Criteria for selecting records to return.
If null
all records will be returned.public ResourceAddressesTypes.ListResult list(ResourceAddressesTypes.FilterSpec filter, InvocationConfig invocationConfig)
ResourceAddresses
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 ResourceAddresses
filter
- Criteria for selecting records to return.
If null
all records will be returned.invocationConfig
- Configuration for the method invocation.public void list(ResourceAddressesTypes.FilterSpec filter, AsyncCallback<ResourceAddressesTypes.ListResult> asyncCallback)
ResourceAddresses
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Matching resource addresses.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if any of the specified parameters are invalid.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
list
in interface ResourceAddresses
filter
- Criteria for selecting records to return.
If null
all records will be returned.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(ResourceAddressesTypes.FilterSpec filter, AsyncCallback<ResourceAddressesTypes.ListResult> asyncCallback, InvocationConfig invocationConfig)
ResourceAddresses
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:
Matching resource addresses.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if any of the specified parameters are invalid.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
list
in interface ResourceAddresses
filter
- Criteria for selecting records to return.
If null
all records will be returned.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ResourceAddressesTypes.Info get(java.lang.String id)
ResourceAddresses
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ResourceAddresses
id
- Resource Address ID.
The parameter must be an identifier for the resource type: com.vmware.vstats.model.RsrcAddr
.public ResourceAddressesTypes.Info get(java.lang.String id, InvocationConfig invocationConfig)
ResourceAddresses
Synchronous 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 ResourceAddresses
id
- Resource Address ID.
The parameter must be an identifier for the resource type: com.vmware.vstats.model.RsrcAddr
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String id, AsyncCallback<ResourceAddressesTypes.Info> asyncCallback)
ResourceAddresses
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the desired Resource Address.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if id
is invalid.
NotFound
- if Resource Address could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
get
in interface ResourceAddresses
id
- Resource Address ID.
The parameter must be an identifier for the resource type: com.vmware.vstats.model.RsrcAddr
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String id, AsyncCallback<ResourceAddressesTypes.Info> asyncCallback, InvocationConfig invocationConfig)
ResourceAddresses
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:
Information about the desired Resource Address.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if id
is invalid.
NotFound
- if Resource Address could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
get
in interface ResourceAddresses
id
- Resource Address ID.
The parameter must be an identifier for the resource type: com.vmware.vstats.model.RsrcAddr
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.