Class ServiceDefinitionsStub

    • Field Summary

      • Fields inherited from class com.vmware.vapi.internal.bindings.Stub

        apiProvider, converter, ifaceId, retryPolicy, securityContext
    • Constructor Summary

      Constructors 
      Constructor Description
      ServiceDefinitionsStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      ServiceDefinitionsStub​(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
      ServiceDefinition create​(java.lang.String enforcementPointId, ServiceDefinition serviceDefinition)
      Create a Service Definition on given enforcement point.
      void create​(java.lang.String enforcementPointId, ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
      Create a Service Definition on given enforcement point.
      void create​(java.lang.String enforcementPointId, ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create a Service Definition on given enforcement point.
      ServiceDefinition create​(java.lang.String enforcementPointId, ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create a Service Definition on given enforcement point.
      void delete​(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId)
      Delete an existing Service Definition on the given enforcement point.
      void delete​(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Delete an existing Service Definition on the given enforcement point.
      void delete​(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete an existing Service Definition on the given enforcement point.
      void delete​(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete an existing Service Definition on the given enforcement point.
      ServiceDefinition get​(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId)
      Read Service Definition with given service-definition-id.
      void get​(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
      Read Service Definition with given service-definition-id.
      void get​(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Read Service Definition with given service-definition-id.
      ServiceDefinition get​(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Read Service Definition with given service-definition-id.
      ServiceInsertionServiceListResult list​(java.lang.String enforcementPointId)
      List all Service Definitions registered on given enforcement point.
      void list​(java.lang.String enforcementPointId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback)
      List all Service Definitions registered on given enforcement point.
      void list​(java.lang.String enforcementPointId, com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      List all Service Definitions registered on given enforcement point.
      ServiceInsertionServiceListResult list​(java.lang.String enforcementPointId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      List all Service Definitions registered on given enforcement point.
      ServiceDefinition update​(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, ServiceDefinition serviceDefinition)
      Update an existing Service Definition on the given enforcement point.
      void update​(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
      Update an existing Service Definition on the given enforcement point.
      void update​(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update an existing Service Definition on the given enforcement point.
      ServiceDefinition update​(java.lang.String enforcementPointId, java.lang.String serviceDefinitionId, ServiceDefinition serviceDefinition, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Update an existing Service Definition on the given enforcement point.
      • Methods inherited from class com.vmware.vapi.internal.bindings.Stub

        invokeMethod, invokeMethodAsync, invokeStreamMethod, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ServiceDefinitionsStub

        public ServiceDefinitionsStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                                      com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
                                      com.vmware.vapi.bindings.StubConfigurationBase config)
      • ServiceDefinitionsStub

        public ServiceDefinitionsStub​(com.vmware.vapi.core.ApiProvider apiProvider,
                                      com.vmware.vapi.bindings.StubConfigurationBase config)
    • Method Detail

      • create

        public ServiceDefinition create​(java.lang.String enforcementPointId,
                                        ServiceDefinition serviceDefinition)
        Description copied from interface: ServiceDefinitions
        Create a Service Definition on given enforcement point.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        create in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinition - (required)
        Returns:
        com.vmware.nsx_policy.model.ServiceDefinition
      • create

        public ServiceDefinition create​(java.lang.String enforcementPointId,
                                        ServiceDefinition serviceDefinition,
                                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ServiceDefinitions
        Create a Service Definition on given enforcement point.

        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:
        create in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinition - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ServiceDefinition
      • create

        public void create​(java.lang.String enforcementPointId,
                           ServiceDefinition serviceDefinition,
                           com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
        Description copied from interface: ServiceDefinitions
        Create a Service Definition on given enforcement point.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.ServiceDefinition

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        create in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinition - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • create

        public void create​(java.lang.String enforcementPointId,
                           ServiceDefinition serviceDefinition,
                           com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ServiceDefinitions
        Create a Service Definition on given enforcement point.

        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_policy.model.ServiceDefinition

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        create in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinition - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • delete

        public void delete​(java.lang.String enforcementPointId,
                           java.lang.String serviceDefinitionId)
        Description copied from interface: ServiceDefinitions
        Delete an existing Service Definition on the given enforcement point.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        delete in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinitionId - Id of service definition (required)
      • delete

        public void delete​(java.lang.String enforcementPointId,
                           java.lang.String serviceDefinitionId,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ServiceDefinitions
        Delete an existing Service Definition on the given enforcement point.

        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:
        delete in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinitionId - Id of service definition (required)
        invocationConfig - Configuration for the method invocation.
      • delete

        public void delete​(java.lang.String enforcementPointId,
                           java.lang.String serviceDefinitionId,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: ServiceDefinitions
        Delete an existing Service Definition on the given enforcement point.

        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

        Specified by:
        delete in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinitionId - Id of service definition (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        public void delete​(java.lang.String enforcementPointId,
                           java.lang.String serviceDefinitionId,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ServiceDefinitions
        Delete an existing Service Definition on the given enforcement point.

        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

        Specified by:
        delete in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinitionId - Id of service definition (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        public ServiceDefinition get​(java.lang.String enforcementPointId,
                                     java.lang.String serviceDefinitionId)
        Description copied from interface: ServiceDefinitions
        Read Service Definition with given service-definition-id.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        get in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinitionId - Id of service definition (required)
        Returns:
        com.vmware.nsx_policy.model.ServiceDefinition
      • get

        public ServiceDefinition get​(java.lang.String enforcementPointId,
                                     java.lang.String serviceDefinitionId,
                                     com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ServiceDefinitions
        Read Service Definition with given service-definition-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:
        get in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinitionId - Id of service definition (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ServiceDefinition
      • get

        public void get​(java.lang.String enforcementPointId,
                        java.lang.String serviceDefinitionId,
                        com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
        Description copied from interface: ServiceDefinitions
        Read Service Definition with given service-definition-id.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.ServiceDefinition

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinitionId - Id of service definition (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String enforcementPointId,
                        java.lang.String serviceDefinitionId,
                        com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ServiceDefinitions
        Read Service Definition with given service-definition-id.

        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_policy.model.ServiceDefinition

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        get in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinitionId - Id of service definition (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        public ServiceInsertionServiceListResult list​(java.lang.String enforcementPointId)
        Description copied from interface: ServiceDefinitions
        List all Service Definitions registered on given enforcement point.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        list in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        Returns:
        com.vmware.nsx_policy.model.ServiceInsertionServiceListResult
      • list

        public ServiceInsertionServiceListResult list​(java.lang.String enforcementPointId,
                                                      com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ServiceDefinitions
        List all Service Definitions registered on given enforcement point.

        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 interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ServiceInsertionServiceListResult
      • list

        public void list​(java.lang.String enforcementPointId,
                         com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback)
        Description copied from interface: ServiceDefinitions
        List all Service Definitions registered on given enforcement point.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.ServiceInsertionServiceListResult

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        list in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        public void list​(java.lang.String enforcementPointId,
                         com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionServiceListResult> asyncCallback,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ServiceDefinitions
        List all Service Definitions registered on given enforcement point.

        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_policy.model.ServiceInsertionServiceListResult

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        list in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public ServiceDefinition update​(java.lang.String enforcementPointId,
                                        java.lang.String serviceDefinitionId,
                                        ServiceDefinition serviceDefinition)
        Description copied from interface: ServiceDefinitions
        Update an existing Service Definition on the given enforcement point.

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Specified by:
        update in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinitionId - Id of service definition (required)
        serviceDefinition - (required)
        Returns:
        com.vmware.nsx_policy.model.ServiceDefinition
      • update

        public ServiceDefinition update​(java.lang.String enforcementPointId,
                                        java.lang.String serviceDefinitionId,
                                        ServiceDefinition serviceDefinition,
                                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ServiceDefinitions
        Update an existing Service Definition on the given enforcement point.

        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:
        update in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinitionId - Id of service definition (required)
        serviceDefinition - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.ServiceDefinition
      • update

        public void update​(java.lang.String enforcementPointId,
                           java.lang.String serviceDefinitionId,
                           ServiceDefinition serviceDefinition,
                           com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback)
        Description copied from interface: ServiceDefinitions
        Update an existing Service Definition on the given enforcement point.

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx_policy.model.ServiceDefinition

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        update in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinitionId - Id of service definition (required)
        serviceDefinition - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        public void update​(java.lang.String enforcementPointId,
                           java.lang.String serviceDefinitionId,
                           ServiceDefinition serviceDefinition,
                           com.vmware.vapi.bindings.client.AsyncCallback<ServiceDefinition> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: ServiceDefinitions
        Update an existing Service Definition on the given enforcement point.

        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_policy.model.ServiceDefinition

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Specified by:
        update in interface ServiceDefinitions
        Parameters:
        enforcementPointId - Enforcement point id (required)
        serviceDefinitionId - Id of service definition (required)
        serviceDefinition - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.