Class EvpnStub

  • All Implemented Interfaces:
    Evpn, EvpnTypes, com.vmware.vapi.bindings.Service

    public class EvpnStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements Evpn
    Remote stub implementation of the Evpn 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
      EvpnStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      EvpnStub​(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
      EvpnConfig get​(java.lang.String tier0Id)
      Read Evpn Configuration.
      void get​(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<EvpnConfig> asyncCallback)
      Read Evpn Configuration.
      void get​(java.lang.String tier0Id, com.vmware.vapi.bindings.client.AsyncCallback<EvpnConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Read Evpn Configuration.
      EvpnConfig get​(java.lang.String tier0Id, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Read Evpn Configuration.
      void patch​(java.lang.String tier0Id, EvpnConfig evpnConfig)
      Create a evpn configuration if it is not already present, otherwise update the evpn configuration.
      void patch​(java.lang.String tier0Id, EvpnConfig evpnConfig, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Create a evpn configuration if it is not already present, otherwise update the evpn configuration.
      void patch​(java.lang.String tier0Id, EvpnConfig evpnConfig, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create a evpn configuration if it is not already present, otherwise update the evpn configuration.
      void patch​(java.lang.String tier0Id, EvpnConfig evpnConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create a evpn configuration if it is not already present, otherwise update the evpn configuration.
      EvpnConfig update​(java.lang.String tier0Id, EvpnConfig evpnConfig)
      Create or update evpn configuration.
      void update​(java.lang.String tier0Id, EvpnConfig evpnConfig, com.vmware.vapi.bindings.client.AsyncCallback<EvpnConfig> asyncCallback)
      Create or update evpn configuration.
      void update​(java.lang.String tier0Id, EvpnConfig evpnConfig, com.vmware.vapi.bindings.client.AsyncCallback<EvpnConfig> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create or update evpn configuration.
      EvpnConfig update​(java.lang.String tier0Id, EvpnConfig evpnConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Create or update evpn configuration.
      • 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

      • EvpnStub

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

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

      • get

        public EvpnConfig get​(java.lang.String tier0Id)
        Description copied from interface: Evpn
        Read Evpn Configuration.

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

        Specified by:
        get in interface Evpn
        Parameters:
        tier0Id - tier0 id (required)
        Returns:
        com.vmware.nsx_policy.model.EvpnConfig
      • get

        public EvpnConfig get​(java.lang.String tier0Id,
                              com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Evpn
        Read Evpn Configuration.

        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 Evpn
        Parameters:
        tier0Id - tier0 id (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.EvpnConfig
      • get

        public void get​(java.lang.String tier0Id,
                        com.vmware.vapi.bindings.client.AsyncCallback<EvpnConfig> asyncCallback)
        Description copied from interface: Evpn
        Read Evpn Configuration.

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

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

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

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

        public void get​(java.lang.String tier0Id,
                        com.vmware.vapi.bindings.client.AsyncCallback<EvpnConfig> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Evpn
        Read Evpn Configuration.

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

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

        Specified by:
        get in interface Evpn
        Parameters:
        tier0Id - tier0 id (required)
        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 tier0Id,
                          EvpnConfig evpnConfig)
        Description copied from interface: Evpn
        Create a evpn configuration if it is not already present, otherwise update the evpn configuration.

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

        Specified by:
        patch in interface Evpn
        Parameters:
        tier0Id - tier0 id (required)
        evpnConfig - (required)
      • patch

        public void patch​(java.lang.String tier0Id,
                          EvpnConfig evpnConfig,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Evpn
        Create a evpn configuration if it is not already present, otherwise update the evpn configuration.

        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 Evpn
        Parameters:
        tier0Id - tier0 id (required)
        evpnConfig - (required)
        invocationConfig - Configuration for the method invocation.
      • patch

        public void patch​(java.lang.String tier0Id,
                          EvpnConfig evpnConfig,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Evpn
        Create a evpn configuration if it is not already present, otherwise update the evpn configuration.

        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 Evpn
        Parameters:
        tier0Id - tier0 id (required)
        evpnConfig - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        public void patch​(java.lang.String tier0Id,
                          EvpnConfig evpnConfig,
                          com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Evpn
        Create a evpn configuration if it is not already present, otherwise update the evpn configuration.

        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 Evpn
        Parameters:
        tier0Id - tier0 id (required)
        evpnConfig - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public EvpnConfig update​(java.lang.String tier0Id,
                                 EvpnConfig evpnConfig)
        Description copied from interface: Evpn
        Create or update evpn configuration.

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

        Specified by:
        update in interface Evpn
        Parameters:
        tier0Id - tier0 id (required)
        evpnConfig - (required)
        Returns:
        com.vmware.nsx_policy.model.EvpnConfig
      • update

        public EvpnConfig update​(java.lang.String tier0Id,
                                 EvpnConfig evpnConfig,
                                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Evpn
        Create or update evpn configuration.

        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 Evpn
        Parameters:
        tier0Id - tier0 id (required)
        evpnConfig - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.EvpnConfig
      • update

        public void update​(java.lang.String tier0Id,
                           EvpnConfig evpnConfig,
                           com.vmware.vapi.bindings.client.AsyncCallback<EvpnConfig> asyncCallback)
        Description copied from interface: Evpn
        Create or update evpn configuration.

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

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

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

        Specified by:
        update in interface Evpn
        Parameters:
        tier0Id - tier0 id (required)
        evpnConfig - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        public void update​(java.lang.String tier0Id,
                           EvpnConfig evpnConfig,
                           com.vmware.vapi.bindings.client.AsyncCallback<EvpnConfig> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Evpn
        Create or update evpn configuration.

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

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

        Specified by:
        update in interface Evpn
        Parameters:
        tier0Id - tier0 id (required)
        evpnConfig - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.