public class CounterSetsStub extends com.vmware.vapi.internal.bindings.Stub implements CounterSets
CounterSets
API service.
WARNING: Internal class, subject to change in future versions.
CounterSetsTypes.InfoapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID, RESOURCE_TYPE| Constructor and Description |
|---|
CounterSetsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
CounterSetsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
CounterSetsTypes.Info |
get(java.lang.String counterSet)
Returns information about a specific counter set.
|
void |
get(java.lang.String counterSet,
AsyncCallback<CounterSetsTypes.Info> asyncCallback)
Returns information about a specific counter set.
|
void |
get(java.lang.String counterSet,
AsyncCallback<CounterSetsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns information about a specific counter set.
|
CounterSetsTypes.Info |
get(java.lang.String counterSet,
InvocationConfig invocationConfig)
Returns information about a specific counter set.
|
java.util.List<CounterSetsTypes.Info> |
list()
Returns information about all the counter sets.
|
void |
list(AsyncCallback<java.util.List<CounterSetsTypes.Info>> asyncCallback)
Returns information about all the counter sets.
|
void |
list(AsyncCallback<java.util.List<CounterSetsTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Returns information about all the counter sets.
|
java.util.List<CounterSetsTypes.Info> |
list(InvocationConfig invocationConfig)
Returns information about all the counter sets.
|
public CounterSetsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public CounterSetsStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<CounterSetsTypes.Info> list()
CounterSetsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface CounterSetspublic java.util.List<CounterSetsTypes.Info> list(InvocationConfig invocationConfig)
CounterSetsSynchronous 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 CounterSetsinvocationConfig - Configuration for the method invocation.public void list(AsyncCallback<java.util.List<CounterSetsTypes.Info>> asyncCallback)
CounterSetsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
List of counter sets.
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 CounterSetsasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<java.util.List<CounterSetsTypes.Info>> asyncCallback, InvocationConfig invocationConfig)
CounterSetsAsynchronous 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 counter sets.
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 CounterSetsasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public CounterSetsTypes.Info get(java.lang.String counterSet)
CounterSetsSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface CounterSetscounterSet - identifier of the counter set to retrieve.
The parameter must be an identifier for the resource type: com.vmware.vstats.model.CounterSet.public CounterSetsTypes.Info get(java.lang.String counterSet, InvocationConfig invocationConfig)
CounterSetsSynchronous 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 CounterSetscounterSet - identifier of the counter set to retrieve.
The parameter must be an identifier for the resource type: com.vmware.vstats.model.CounterSet.invocationConfig - Configuration for the method invocation.public void get(java.lang.String counterSet,
AsyncCallback<CounterSetsTypes.Info> asyncCallback)
CounterSetsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information about the desired CounterSet.
Operation Errors:
Error - if the system reports an error while responding to the request.
InvalidArgument - if counterSet is invalid.
NotFound - if the requested counter set could not be located.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have sufficient privileges.
get in interface CounterSetscounterSet - identifier of the counter set to retrieve.
The parameter must be an identifier for the resource type: com.vmware.vstats.model.CounterSet.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String counterSet,
AsyncCallback<CounterSetsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
CounterSetsAsynchronous 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 CounterSet.
Operation Errors:
Error - if the system reports an error while responding to the request.
InvalidArgument - if counterSet is invalid.
NotFound - if the requested counter set could not be located.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have sufficient privileges.
get in interface CounterSetscounterSet - identifier of the counter set to retrieve.
The parameter must be an identifier for the resource type: com.vmware.vstats.model.CounterSet.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.