public class ServiceChainsStub extends com.vmware.vapi.internal.bindings.Stub implements ServiceChains
ServiceChains
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ServiceChainsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ServiceChainsStub(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 |
---|---|
ServiceChain |
create(ServiceChain serviceChain)
Adds a new service chain.
|
void |
create(ServiceChain serviceChain,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceChain> asyncCallback)
Adds a new service chain.
|
void |
create(ServiceChain serviceChain,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceChain> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new service chain.
|
ServiceChain |
create(ServiceChain serviceChain,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new service chain.
|
void |
delete(java.lang.String serviceChainId)
Delete a particular service chain.
|
void |
delete(java.lang.String serviceChainId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete a particular service chain.
|
void |
delete(java.lang.String serviceChainId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a particular service chain.
|
void |
delete(java.lang.String serviceChainId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a particular service chain.
|
ServiceChain |
get(java.lang.String serviceChainId)
Returns detailed service chain information.
|
void |
get(java.lang.String serviceChainId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceChain> asyncCallback)
Returns detailed service chain information.
|
void |
get(java.lang.String serviceChainId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceChain> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detailed service chain information.
|
ServiceChain |
get(java.lang.String serviceChainId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns detailed service chain information.
|
ServiceChainListResult |
list()
List all service chains in the system.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<ServiceChainListResult> asyncCallback)
List all service chains in the system.
|
void |
list(com.vmware.vapi.bindings.client.AsyncCallback<ServiceChainListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all service chains in the system.
|
ServiceChainListResult |
list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all service chains in the system.
|
public ServiceChainsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceChainsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ServiceChain create(ServiceChain serviceChain)
ServiceChains
Synchronous method overload. Result of the invocation will be reported as a method return value.
create
in interface ServiceChains
serviceChain
- (required)public ServiceChain create(ServiceChain serviceChain, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceChains
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
create
in interface ServiceChains
serviceChain
- (required)invocationConfig
- Configuration for the method invocation.public void create(ServiceChain serviceChain, com.vmware.vapi.bindings.client.AsyncCallback<ServiceChain> asyncCallback)
ServiceChains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceChain
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface ServiceChains
serviceChain
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void create(ServiceChain serviceChain, com.vmware.vapi.bindings.client.AsyncCallback<ServiceChain> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceChains
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.ServiceChain
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
create
in interface ServiceChains
serviceChain
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String serviceChainId)
ServiceChains
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface ServiceChains
serviceChainId
- (required)public void delete(java.lang.String serviceChainId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceChains
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface ServiceChains
serviceChainId
- (required)invocationConfig
- Configuration for the method invocation.public void delete(java.lang.String serviceChainId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ServiceChains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
delete
in interface ServiceChains
serviceChainId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String serviceChainId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceChains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
delete
in interface ServiceChains
serviceChainId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ServiceChain get(java.lang.String serviceChainId)
ServiceChains
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface ServiceChains
serviceChainId
- (required)public ServiceChain get(java.lang.String serviceChainId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceChains
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 ServiceChains
serviceChainId
- (required)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String serviceChainId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceChain> asyncCallback)
ServiceChains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceChain
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ServiceChains
serviceChainId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String serviceChainId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceChain> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceChains
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.ServiceChain
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface ServiceChains
serviceChainId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ServiceChainListResult list()
ServiceChains
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ServiceChains
public ServiceChainListResult list(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceChains
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 ServiceChains
invocationConfig
- Configuration for the method invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<ServiceChainListResult> asyncCallback)
ServiceChains
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ServiceChainListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ServiceChains
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(com.vmware.vapi.bindings.client.AsyncCallback<ServiceChainListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ServiceChains
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.ServiceChainListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ServiceChains
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.