public class ApiServiceStub extends com.vmware.vapi.internal.bindings.Stub implements ApiService
ApiService
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ApiServiceStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ApiServiceStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
ApiServiceConfig |
get()
Read the configuration of the NSX API service.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<ApiServiceConfig> asyncCallback)
Read the configuration of the NSX API service.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<ApiServiceConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read the configuration of the NSX API service.
|
ApiServiceConfig |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read the configuration of the NSX API service.
|
ApiServiceConfig |
update(ApiServiceConfig apiServiceConfig)
Read the configuration of the NSX API service.
|
void |
update(ApiServiceConfig apiServiceConfig,
com.vmware.vapi.bindings.client.AsyncCallback<ApiServiceConfig> asyncCallback)
Read the configuration of the NSX API service.
|
void |
update(ApiServiceConfig apiServiceConfig,
com.vmware.vapi.bindings.client.AsyncCallback<ApiServiceConfig> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read the configuration of the NSX API service.
|
ApiServiceConfig |
update(ApiServiceConfig apiServiceConfig,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read the configuration of the NSX API service.
|
public ApiServiceStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ApiServiceStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ApiServiceConfig get()
ApiService
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ApiService
public ApiServiceConfig get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ApiService
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 ApiService
invocationConfig
- Configuration for the method invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<ApiServiceConfig> asyncCallback)
ApiService
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ApiServiceConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ApiService
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(com.vmware.vapi.bindings.client.AsyncCallback<ApiServiceConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ApiService
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:
com.vmware.nsx.model.ApiServiceConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ApiService
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ApiServiceConfig update(ApiServiceConfig apiServiceConfig)
ApiService
Synchronous method overload. Result of the invocation will be reported as a method return value.
update
in interface ApiService
apiServiceConfig
- (required)public ApiServiceConfig update(ApiServiceConfig apiServiceConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ApiService
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
update
in interface ApiService
apiServiceConfig
- (required)invocationConfig
- Configuration for the method invocation.public void update(ApiServiceConfig apiServiceConfig, com.vmware.vapi.bindings.client.AsyncCallback<ApiServiceConfig> asyncCallback)
ApiService
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ApiServiceConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface ApiService
apiServiceConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void update(ApiServiceConfig apiServiceConfig, com.vmware.vapi.bindings.client.AsyncCallback<ApiServiceConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ApiService
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:
com.vmware.nsx.model.ApiServiceConfig
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
update
in interface ApiService
apiServiceConfig
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.