public class ConfigStub extends com.vmware.vapi.internal.bindings.Stub implements Config
Config
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ConfigStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ConfigStub(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 |
---|---|
Proxy |
get()
Returns the proxy configuration.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<Proxy> asyncCallback)
Returns the proxy configuration.
|
void |
get(com.vmware.vapi.bindings.client.AsyncCallback<Proxy> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the proxy configuration.
|
Proxy |
get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the proxy configuration.
|
Proxy |
update(Proxy proxy)
Updates or creates the proxy configuration, and returns the new configuration.
|
void |
update(Proxy proxy,
com.vmware.vapi.bindings.client.AsyncCallback<Proxy> asyncCallback)
Updates or creates the proxy configuration, and returns the new configuration.
|
void |
update(Proxy proxy,
com.vmware.vapi.bindings.client.AsyncCallback<Proxy> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates or creates the proxy configuration, and returns the new configuration.
|
Proxy |
update(Proxy proxy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates or creates the proxy configuration, and returns the new configuration.
|
public ConfigStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ConfigStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public Proxy get()
Config
Synchronous method overload. Result of the invocation will be reported as a method return value.
public Proxy get(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Config
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 get(com.vmware.vapi.bindings.client.AsyncCallback<Proxy> asyncCallback)
Config
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.Proxy
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(com.vmware.vapi.bindings.client.AsyncCallback<Proxy> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Config
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.Proxy
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public Proxy update(Proxy proxy)
Config
Synchronous method overload. Result of the invocation will be reported as a method return value.
public Proxy update(Proxy proxy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Config
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(Proxy proxy, com.vmware.vapi.bindings.client.AsyncCallback<Proxy> asyncCallback)
Config
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.Proxy
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void update(Proxy proxy, com.vmware.vapi.bindings.client.AsyncCallback<Proxy> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Config
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.Proxy
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found