public class AssociationsStub extends com.vmware.vapi.internal.bindings.Stub implements Associations
Associations
API service.
WARNING: Internal class, subject to change in future versions.
AssociationsTypes.IterationSpec, AssociationsTypes.LastIterationStatus, AssociationsTypes.ListResult, AssociationsTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
AssociationsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
AssociationsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
AssociationsTypes.ListResult |
list(AssociationsTypes.IterationSpec iterate)
Returns tag associations that match the specified iteration spec.
|
void |
list(AssociationsTypes.IterationSpec iterate,
AsyncCallback<AssociationsTypes.ListResult> asyncCallback)
Returns tag associations that match the specified iteration spec.
|
void |
list(AssociationsTypes.IterationSpec iterate,
AsyncCallback<AssociationsTypes.ListResult> asyncCallback,
InvocationConfig invocationConfig)
Returns tag associations that match the specified iteration spec.
|
AssociationsTypes.ListResult |
list(AssociationsTypes.IterationSpec iterate,
InvocationConfig invocationConfig)
Returns tag associations that match the specified iteration spec.
|
public AssociationsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public AssociationsStub(ApiProvider apiProvider, StubConfigurationBase config)
public AssociationsTypes.ListResult list(AssociationsTypes.IterationSpec iterate)
Associations
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Associations
iterate
- The specification of a page to be retrieved.
If null
, the first page will be retrieved.public AssociationsTypes.ListResult list(AssociationsTypes.IterationSpec iterate, InvocationConfig invocationConfig)
Associations
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 Associations
iterate
- The specification of a page to be retrieved.
If null
, the first page will be retrieved.invocationConfig
- Configuration for the method invocation.public void list(AssociationsTypes.IterationSpec iterate, AsyncCallback<AssociationsTypes.ListResult> asyncCallback)
Associations
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
A page of the tag associations matching the iteration spec.
Operation Errors:
InvalidArgument
- if AssociationsTypes.IterationSpec.getMarker()
is not a marker returned from an earlier invocation of this operation).
{@link com.vmware.vapi.std.errors.Unauthorized} - if the user doesn't have the required privileges.
list
in interface Associations
iterate
- The specification of a page to be retrieved.
If null
, the first page will be retrieved.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(AssociationsTypes.IterationSpec iterate, AsyncCallback<AssociationsTypes.ListResult> asyncCallback, InvocationConfig invocationConfig)
Associations
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:
A page of the tag associations matching the iteration spec.
Operation Errors:
InvalidArgument
- if AssociationsTypes.IterationSpec.getMarker()
is not a marker returned from an earlier invocation of this operation).
{@link com.vmware.vapi.std.errors.Unauthorized} - if the user doesn't have the required privileges.
list
in interface Associations
iterate
- The specification of a page to be retrieved.
If null
, the first page will be retrieved.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.