Class ServicePathsStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.infra.service_chains.ServicePathsStub
-
- All Implemented Interfaces:
ServicePaths
,ServicePathsTypes
,com.vmware.vapi.bindings.Service
public class ServicePathsStub extends com.vmware.vapi.internal.bindings.Stub implements ServicePaths
Remote stub implementation of theServicePaths
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.infra.service_chains.ServicePathsTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description ServicePathsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
ServicePathsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServicePathListResult
list(java.lang.String serviceChainId, java.lang.String enforcementPointPath)
This API can be used to read service paths for a given service-chain-id.void
list(java.lang.String serviceChainId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<ServicePathListResult> asyncCallback)
This API can be used to read service paths for a given service-chain-id.void
list(java.lang.String serviceChainId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<ServicePathListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API can be used to read service paths for a given service-chain-id.ServicePathListResult
list(java.lang.String serviceChainId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API can be used to read service paths for a given service-chain-id.
-
-
-
Constructor Detail
-
ServicePathsStub
public ServicePathsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
ServicePathsStub
public ServicePathsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
list
public ServicePathListResult list(java.lang.String serviceChainId, java.lang.String enforcementPointPath)
Description copied from interface:ServicePaths
This API can be used to read service paths for a given service-chain-id.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
list
in interfaceServicePaths
- Parameters:
serviceChainId
- Id of Service chain (required)enforcementPointPath
- String Path of the enforcement point (optional)- Returns:
- com.vmware.nsx_policy.model.ServicePathListResult
-
list
public ServicePathListResult list(java.lang.String serviceChainId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:ServicePaths
This API can be used to read service paths for a given service-chain-id.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
list
in interfaceServicePaths
- Parameters:
serviceChainId
- Id of Service chain (required)enforcementPointPath
- String Path of the enforcement point (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.ServicePathListResult
-
list
public void list(java.lang.String serviceChainId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<ServicePathListResult> asyncCallback)
Description copied from interface:ServicePaths
This API can be used to read service paths for a given service-chain-id.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.ServicePathListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceServicePaths
- Parameters:
serviceChainId
- Id of Service chain (required)enforcementPointPath
- String Path of the enforcement point (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
list
public void list(java.lang.String serviceChainId, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<ServicePathListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:ServicePaths
This API can be used to read service paths for a given service-chain-id.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.ServicePathListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
list
in interfaceServicePaths
- Parameters:
serviceChainId
- Id of Service chain (required)enforcementPointPath
- String Path of the enforcement point (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-