public class AcqSpecsStub extends com.vmware.vapi.internal.bindings.Stub implements AcqSpecs
AcqSpecs
API service.
WARNING: Internal class, subject to change in future versions.
AcqSpecsTypes.CounterSpec, AcqSpecsTypes.CreateSpec, AcqSpecsTypes.FilterSpec, AcqSpecsTypes.Info, AcqSpecsTypes.ListResult, AcqSpecsTypes.Status, AcqSpecsTypes.UpdateSpec
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
AcqSpecsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
AcqSpecsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
create(AcqSpecsTypes.CreateSpec acqSpec)
Create a new acquisition specification record.
|
void |
create(AcqSpecsTypes.CreateSpec acqSpec,
AsyncCallback<java.lang.String> asyncCallback)
Create a new acquisition specification record.
|
void |
create(AcqSpecsTypes.CreateSpec acqSpec,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Create a new acquisition specification record.
|
java.lang.String |
create(AcqSpecsTypes.CreateSpec acqSpec,
InvocationConfig invocationConfig)
Create a new acquisition specification record.
|
void |
delete(java.lang.String id)
Delete an acquisition specification.
|
void |
delete(java.lang.String id,
AsyncCallback<java.lang.Void> asyncCallback)
Delete an acquisition specification.
|
void |
delete(java.lang.String id,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Delete an acquisition specification.
|
void |
delete(java.lang.String id,
InvocationConfig invocationConfig)
Delete an acquisition specification.
|
AcqSpecsTypes.Info |
get(java.lang.String id)
Returns information about a specific acquisition specification.
|
void |
get(java.lang.String id,
AsyncCallback<AcqSpecsTypes.Info> asyncCallback)
Returns information about a specific acquisition specification.
|
void |
get(java.lang.String id,
AsyncCallback<AcqSpecsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns information about a specific acquisition specification.
|
AcqSpecsTypes.Info |
get(java.lang.String id,
InvocationConfig invocationConfig)
Returns information about a specific acquisition specification.
|
AcqSpecsTypes.ListResult |
list(AcqSpecsTypes.FilterSpec filter)
Returns information about all acquisition specifications.
|
void |
list(AcqSpecsTypes.FilterSpec filter,
AsyncCallback<AcqSpecsTypes.ListResult> asyncCallback)
Returns information about all acquisition specifications.
|
void |
list(AcqSpecsTypes.FilterSpec filter,
AsyncCallback<AcqSpecsTypes.ListResult> asyncCallback,
InvocationConfig invocationConfig)
Returns information about all acquisition specifications.
|
AcqSpecsTypes.ListResult |
list(AcqSpecsTypes.FilterSpec filter,
InvocationConfig invocationConfig)
Returns information about all acquisition specifications.
|
void |
update(java.lang.String id,
AcqSpecsTypes.UpdateSpec acqSpec)
Update an existing acquisition specification.
|
void |
update(java.lang.String id,
AcqSpecsTypes.UpdateSpec acqSpec,
AsyncCallback<java.lang.Void> asyncCallback)
Update an existing acquisition specification.
|
void |
update(java.lang.String id,
AcqSpecsTypes.UpdateSpec acqSpec,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Update an existing acquisition specification.
|
void |
update(java.lang.String id,
AcqSpecsTypes.UpdateSpec acqSpec,
InvocationConfig invocationConfig)
Update an existing acquisition specification.
|
public AcqSpecsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public AcqSpecsStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.lang.String create(AcqSpecsTypes.CreateSpec acqSpec)
AcqSpecs
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.lang.String create(AcqSpecsTypes.CreateSpec acqSpec, InvocationConfig invocationConfig)
AcqSpecs
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface AcqSpecs
acqSpec
- Specification for the acquisition of stats data.invocationConfig
- Configuration for the method invocation.com.vmware.vstats.model.AcqSpec
.public void create(AcqSpecsTypes.CreateSpec acqSpec, AsyncCallback<java.lang.String> asyncCallback)
AcqSpecs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Identifier of the newly created acquisition specification.
The return value will be an identifier for the resource type: com.vmware.vstats.model.AcqSpec
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if acqSpec
contain any errors.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
public void create(AcqSpecsTypes.CreateSpec acqSpec, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
AcqSpecs
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:
Identifier of the newly created acquisition specification.
The return value will be an identifier for the resource type: com.vmware.vstats.model.AcqSpec
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if acqSpec
contain any errors.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
public void delete(java.lang.String id)
AcqSpecs
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String id, InvocationConfig invocationConfig)
AcqSpecs
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 delete(java.lang.String id, AsyncCallback<java.lang.Void> asyncCallback)
AcqSpecs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if id
is invalid.
NotFound
- if acquisition specification could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
public void delete(java.lang.String id, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
AcqSpecs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if id
is invalid.
NotFound
- if acquisition specification could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
delete
in interface AcqSpecs
id
- Acquisition specification ID.
The parameter must be an identifier for the resource type: com.vmware.vstats.model.AcqSpec
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public AcqSpecsTypes.ListResult list(AcqSpecsTypes.FilterSpec filter)
AcqSpecs
Synchronous method overload. Result of the invocation will be reported as a method return value.
public AcqSpecsTypes.ListResult list(AcqSpecsTypes.FilterSpec filter, InvocationConfig invocationConfig)
AcqSpecs
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(AcqSpecsTypes.FilterSpec filter, AsyncCallback<AcqSpecsTypes.ListResult> asyncCallback)
AcqSpecs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of acquisition specification records.
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.
public void list(AcqSpecsTypes.FilterSpec filter, AsyncCallback<AcqSpecsTypes.ListResult> asyncCallback, InvocationConfig invocationConfig)
AcqSpecs
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 acquisition specification records.
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 AcqSpecs
filter
- Criteria for selecting records to return.
When Set
filtering will be applied to the result.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public AcqSpecsTypes.Info get(java.lang.String id)
AcqSpecs
Synchronous method overload. Result of the invocation will be reported as a method return value.
public AcqSpecsTypes.Info get(java.lang.String id, InvocationConfig invocationConfig)
AcqSpecs
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 AcqSpecs
id
- Acquisition specification ID.
The parameter must be an identifier for the resource type: com.vmware.vstats.model.AcqSpec
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String id, AsyncCallback<AcqSpecsTypes.Info> asyncCallback)
AcqSpecs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the desired acquisition specification.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if id
is invalid.
NotFound
- acquisition specification could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
public void get(java.lang.String id, AsyncCallback<AcqSpecsTypes.Info> asyncCallback, InvocationConfig invocationConfig)
AcqSpecs
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 acquisition specification.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if id
is invalid.
NotFound
- acquisition specification could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
get
in interface AcqSpecs
id
- Acquisition specification ID.
The parameter must be an identifier for the resource type: com.vmware.vstats.model.AcqSpec
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void update(java.lang.String id, AcqSpecsTypes.UpdateSpec acqSpec)
AcqSpecs
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void update(java.lang.String id, AcqSpecsTypes.UpdateSpec acqSpec, InvocationConfig invocationConfig)
AcqSpecs
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 update(java.lang.String id, AcqSpecsTypes.UpdateSpec acqSpec, AsyncCallback<java.lang.Void> asyncCallback)
AcqSpecs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if any of the specified parameters are invalid.
NotFound
- acquisition specification could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
update
in interface AcqSpecs
id
- Acquisition specification ID.
The parameter must be an identifier for the resource type: com.vmware.vstats.model.AcqSpec
.acqSpec
- Updated acquisition specification.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(java.lang.String id, AcqSpecsTypes.UpdateSpec acqSpec, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
AcqSpecs
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if any of the specified parameters are invalid.
NotFound
- acquisition specification could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
update
in interface AcqSpecs
id
- Acquisition specification ID.
The parameter must be an identifier for the resource type: com.vmware.vstats.model.AcqSpec
.acqSpec
- Updated acquisition specification.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.