Class LivetracesStub

  • All Implemented Interfaces:
    Livetraces, LivetracesTypes, com.vmware.vapi.bindings.Service

    public class LivetracesStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements Livetraces
    Remote stub implementation of the Livetraces 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
    • Constructor Summary

      Constructors 
      Constructor Description
      LivetracesStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      LivetracesStub​(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
      LiveTraceConfig create​(java.lang.String livetraceId, java.lang.String action)
      Restart a livetrace session with the same set of parameters used in creating or updating of a livetrace config.
      void create​(java.lang.String livetraceId, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfig> asyncCallback)
      Restart a livetrace session with the same set of parameters used in creating or updating of a livetrace config.
      void create​(java.lang.String livetraceId, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Restart a livetrace session with the same set of parameters used in creating or updating of a livetrace config.
      LiveTraceConfig create​(java.lang.String livetraceId, java.lang.String action, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Restart a livetrace session with the same set of parameters used in creating or updating of a livetrace config.
      void delete​(java.lang.String livetraceId)
      Delete livetrace config with the specified identifier.
      void delete​(java.lang.String livetraceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Delete livetrace config with the specified identifier.
      void delete​(java.lang.String livetraceId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete livetrace config with the specified identifier.
      void delete​(java.lang.String livetraceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete livetrace config with the specified identifier.
      LiveTraceConfig get​(java.lang.String livetraceId)
      Read livetrace config with the specified identifier.
      void get​(java.lang.String livetraceId, com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfig> asyncCallback)
      Read livetrace config with the specified identifier.
      void get​(java.lang.String livetraceId, com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Read livetrace config with the specified identifier.
      LiveTraceConfig get​(java.lang.String livetraceId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Read livetrace config with the specified identifier.
      LiveTraceConfigListResult list​(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
      Get a paginated list of all livetrace config entities.
      void list​(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfigListResult> asyncCallback)
      Get a paginated list of all livetrace config entities.
      void list​(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfigListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get a paginated list of all livetrace config entities.
      LiveTraceConfigListResult list​(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get a paginated list of all livetrace config entities.
      void patch​(java.lang.String livetraceId, LiveTraceConfig liveTraceConfig)
      If a livetrace config with the specified identifier is not present, then create a new livetrace config.
      void patch​(java.lang.String livetraceId, LiveTraceConfig liveTraceConfig, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      If a livetrace config with the specified identifier is not present, then create a new livetrace config.
      void patch​(java.lang.String livetraceId, LiveTraceConfig liveTraceConfig, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If a livetrace config with the specified identifier is not present, then create a new livetrace config.
      void patch​(java.lang.String livetraceId, LiveTraceConfig liveTraceConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If a livetrace config with the specified identifier is not present, then create a new livetrace config.
      LiveTraceConfig update​(java.lang.String livetraceId, LiveTraceConfig liveTraceConfig)
      If a livetrace config with the specified identifier is not present, then create a new livetrace config.
      void update​(java.lang.String livetraceId, LiveTraceConfig liveTraceConfig, com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfig> asyncCallback)
      If a livetrace config with the specified identifier is not present, then create a new livetrace config.
      void update​(java.lang.String livetraceId, LiveTraceConfig liveTraceConfig, com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If a livetrace config with the specified identifier is not present, then create a new livetrace config.
      LiveTraceConfig update​(java.lang.String livetraceId, LiveTraceConfig liveTraceConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      If a livetrace config with the specified identifier is not present, then create a new livetrace config.
      • 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

      • LivetracesStub

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

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

      • create

        public LiveTraceConfig create​(java.lang.String livetraceId,
                                      java.lang.String action)
        Description copied from interface: Livetraces
        Restart a livetrace session with the same set of parameters used in creating or updating of a livetrace config.

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

        Specified by:
        create in interface Livetraces
        Parameters:
        livetraceId - (required)
        action - Action to be performed (optional)
        Returns:
        com.vmware.nsx_policy.model.LiveTraceConfig
      • create

        public LiveTraceConfig create​(java.lang.String livetraceId,
                                      java.lang.String action,
                                      com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Livetraces
        Restart a livetrace session with the same set of parameters used in creating or updating of a livetrace 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.

        Specified by:
        create in interface Livetraces
        Parameters:
        livetraceId - (required)
        action - Action to be performed (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.LiveTraceConfig
      • create

        public void create​(java.lang.String livetraceId,
                           java.lang.String action,
                           com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfig> asyncCallback)
        Description copied from interface: Livetraces
        Restart a livetrace session with the same set of parameters used in creating or updating of a livetrace config.

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

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

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

        Specified by:
        create in interface Livetraces
        Parameters:
        livetraceId - (required)
        action - Action to be performed (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • create

        public void create​(java.lang.String livetraceId,
                           java.lang.String action,
                           com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfig> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Livetraces
        Restart a livetrace session with the same set of parameters used in creating or updating of a livetrace 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_policy.model.LiveTraceConfig

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

        Specified by:
        create in interface Livetraces
        Parameters:
        livetraceId - (required)
        action - Action to be performed (optional)
        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 livetraceId)
        Description copied from interface: Livetraces
        Delete livetrace config with the specified identifier.

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

        Specified by:
        delete in interface Livetraces
        Parameters:
        livetraceId - (required)
      • delete

        public void delete​(java.lang.String livetraceId,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Livetraces
        Delete livetrace config with the specified identifier.

        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 Livetraces
        Parameters:
        livetraceId - (required)
        invocationConfig - Configuration for the method invocation.
      • delete

        public void delete​(java.lang.String livetraceId,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Livetraces
        Delete livetrace config with the specified identifier.

        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 Livetraces
        Parameters:
        livetraceId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        public void delete​(java.lang.String livetraceId,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Livetraces
        Delete livetrace config with the specified identifier.

        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 Livetraces
        Parameters:
        livetraceId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        public LiveTraceConfig get​(java.lang.String livetraceId)
        Description copied from interface: Livetraces
        Read livetrace config with the specified identifier.

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

        Specified by:
        get in interface Livetraces
        Parameters:
        livetraceId - (required)
        Returns:
        com.vmware.nsx_policy.model.LiveTraceConfig
      • get

        public LiveTraceConfig get​(java.lang.String livetraceId,
                                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Livetraces
        Read livetrace config with the specified identifier.

        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 Livetraces
        Parameters:
        livetraceId - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.LiveTraceConfig
      • get

        public void get​(java.lang.String livetraceId,
                        com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfig> asyncCallback)
        Description copied from interface: Livetraces
        Read livetrace config with the specified identifier.

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

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

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

        Specified by:
        get in interface Livetraces
        Parameters:
        livetraceId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String livetraceId,
                        com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfig> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Livetraces
        Read livetrace config with the specified identifier.

        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.LiveTraceConfig

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

        Specified by:
        get in interface Livetraces
        Parameters:
        livetraceId - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        public LiveTraceConfigListResult list​(java.lang.String cursor,
                                              java.lang.Boolean includeMarkForDeleteObjects,
                                              java.lang.String includedFields,
                                              java.lang.Long pageSize,
                                              java.lang.Boolean sortAscending,
                                              java.lang.String sortBy)
        Description copied from interface: Livetraces
        Get a paginated list of all livetrace config entities.

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

        Specified by:
        list in interface Livetraces
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        Returns:
        com.vmware.nsx_policy.model.LiveTraceConfigListResult
      • list

        public LiveTraceConfigListResult list​(java.lang.String cursor,
                                              java.lang.Boolean includeMarkForDeleteObjects,
                                              java.lang.String includedFields,
                                              java.lang.Long pageSize,
                                              java.lang.Boolean sortAscending,
                                              java.lang.String sortBy,
                                              com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Livetraces
        Get a paginated list of all livetrace config entities.

        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 Livetraces
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.LiveTraceConfigListResult
      • list

        public void list​(java.lang.String cursor,
                         java.lang.Boolean includeMarkForDeleteObjects,
                         java.lang.String includedFields,
                         java.lang.Long pageSize,
                         java.lang.Boolean sortAscending,
                         java.lang.String sortBy,
                         com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfigListResult> asyncCallback)
        Description copied from interface: Livetraces
        Get a paginated list of all livetrace config entities.

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

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

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

        Specified by:
        list in interface Livetraces
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        public void list​(java.lang.String cursor,
                         java.lang.Boolean includeMarkForDeleteObjects,
                         java.lang.String includedFields,
                         java.lang.Long pageSize,
                         java.lang.Boolean sortAscending,
                         java.lang.String sortBy,
                         com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfigListResult> asyncCallback,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Livetraces
        Get a paginated list of all livetrace config entities.

        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.LiveTraceConfigListResult

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

        Specified by:
        list in interface Livetraces
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(java.lang.String livetraceId,
                          LiveTraceConfig liveTraceConfig)
        Description copied from interface: Livetraces
        If a livetrace config with the specified identifier is not present, then create a new livetrace config. If it already exists, update the livetrace config with a full replacement.

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

        Specified by:
        patch in interface Livetraces
        Parameters:
        livetraceId - (required)
        liveTraceConfig - (required)
      • patch

        public void patch​(java.lang.String livetraceId,
                          LiveTraceConfig liveTraceConfig,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Livetraces
        If a livetrace config with the specified identifier is not present, then create a new livetrace config. If it already exists, update the livetrace config with a full replacement.

        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:
        patch in interface Livetraces
        Parameters:
        livetraceId - (required)
        liveTraceConfig - (required)
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(java.lang.String livetraceId,
                          LiveTraceConfig liveTraceConfig,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Livetraces
        If a livetrace config with the specified identifier is not present, then create a new livetrace config. If it already exists, update the livetrace config with a full replacement.

        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:
        patch in interface Livetraces
        Parameters:
        livetraceId - (required)
        liveTraceConfig - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        public void patch​(java.lang.String livetraceId,
                          LiveTraceConfig liveTraceConfig,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Livetraces
        If a livetrace config with the specified identifier is not present, then create a new livetrace config. If it already exists, update the livetrace config with a full replacement.

        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:
        patch in interface Livetraces
        Parameters:
        livetraceId - (required)
        liveTraceConfig - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public LiveTraceConfig update​(java.lang.String livetraceId,
                                      LiveTraceConfig liveTraceConfig)
        Description copied from interface: Livetraces
        If a livetrace config with the specified identifier is not present, then create a new livetrace config. If it already exists, update the livetrace config with a full replacement.

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

        Specified by:
        update in interface Livetraces
        Parameters:
        livetraceId - (required)
        liveTraceConfig - (required)
        Returns:
        com.vmware.nsx_policy.model.LiveTraceConfig
      • update

        public LiveTraceConfig update​(java.lang.String livetraceId,
                                      LiveTraceConfig liveTraceConfig,
                                      com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Livetraces
        If a livetrace config with the specified identifier is not present, then create a new livetrace config. If it already exists, update the livetrace config with a full replacement.

        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 Livetraces
        Parameters:
        livetraceId - (required)
        liveTraceConfig - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.LiveTraceConfig
      • update

        public void update​(java.lang.String livetraceId,
                           LiveTraceConfig liveTraceConfig,
                           com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfig> asyncCallback)
        Description copied from interface: Livetraces
        If a livetrace config with the specified identifier is not present, then create a new livetrace config. If it already exists, update the livetrace config with a full replacement.

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

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

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

        Specified by:
        update in interface Livetraces
        Parameters:
        livetraceId - (required)
        liveTraceConfig - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        public void update​(java.lang.String livetraceId,
                           LiveTraceConfig liveTraceConfig,
                           com.vmware.vapi.bindings.client.AsyncCallback<LiveTraceConfig> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Livetraces
        If a livetrace config with the specified identifier is not present, then create a new livetrace config. If it already exists, update the livetrace config with a full replacement.

        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.LiveTraceConfig

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

        Specified by:
        update in interface Livetraces
        Parameters:
        livetraceId - (required)
        liveTraceConfig - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.