public class ResourceAddressSchemasStub extends com.vmware.vapi.internal.bindings.Stub implements ResourceAddressSchemas
ResourceAddressSchemas
API service.
WARNING: Internal class, subject to change in future versions.
ResourceAddressSchemasTypes.Info, ResourceAddressSchemasTypes.QueryCapabilities, ResourceAddressSchemasTypes.ResourceIdDefinition
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
ResourceAddressSchemasStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ResourceAddressSchemasStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
ResourceAddressSchemasTypes.Info |
get(java.lang.String id)
Returns information about a specific resource address schema.
|
void |
get(java.lang.String id,
AsyncCallback<ResourceAddressSchemasTypes.Info> asyncCallback)
Returns information about a specific resource address schema.
|
void |
get(java.lang.String id,
AsyncCallback<ResourceAddressSchemasTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns information about a specific resource address schema.
|
ResourceAddressSchemasTypes.Info |
get(java.lang.String id,
InvocationConfig invocationConfig)
Returns information about a specific resource address schema.
|
public ResourceAddressSchemasStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ResourceAddressSchemasStub(ApiProvider apiProvider, StubConfigurationBase config)
public ResourceAddressSchemasTypes.Info get(java.lang.String id)
ResourceAddressSchemas
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ResourceAddressSchemas
id
- Resource address schema identifier.public ResourceAddressSchemasTypes.Info get(java.lang.String id, InvocationConfig invocationConfig)
ResourceAddressSchemas
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 ResourceAddressSchemas
id
- Resource address schema identifier.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String id, AsyncCallback<ResourceAddressSchemasTypes.Info> asyncCallback)
ResourceAddressSchemas
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the desired resource address schema.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if id
is invalid.
NotFound
- if RsrcAddrSchema could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
get
in interface ResourceAddressSchemas
id
- Resource address schema identifier.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String id, AsyncCallback<ResourceAddressSchemasTypes.Info> asyncCallback, InvocationConfig invocationConfig)
ResourceAddressSchemas
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 schema.
Operation Errors:
Error
- if the system reports an error while responding to the request.
InvalidArgument
- if id
is invalid.
NotFound
- if RsrcAddrSchema could not be located.
Unauthenticated
- if the user can not be authenticated.
Unauthorized
- if the user does not have sufficient privileges.
get
in interface ResourceAddressSchemas
id
- Resource address schema identifier.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.