Class RegistrationTokenStub

    • Field Summary

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

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

      Constructors 
      Constructor Description
      RegistrationTokenStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      RegistrationTokenStub​(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
      RegistrationToken create()
      The privileges of the registration token will be the same as the caller.
      void create​(com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)
      The privileges of the registration token will be the same as the caller.
      void create​(com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      The privileges of the registration token will be the same as the caller.
      RegistrationToken create​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      The privileges of the registration token will be the same as the caller.
      void delete​(java.lang.String token)
      Delete registration access token
      Use API POST /api/v1/aaa/registration-token/delete
      void delete​(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Delete registration access token
      Use API POST /api/v1/aaa/registration-token/delete
      void delete​(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete registration access token
      Use API POST /api/v1/aaa/registration-token/delete
      void delete​(java.lang.String token, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete registration access token
      Use API POST /api/v1/aaa/registration-token/delete
      RegistrationToken get​(java.lang.String token)
      Get registration access token
      Use API POST /api/v1/aaa/registration-token/retrieve
      void get​(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)
      Get registration access token
      Use API POST /api/v1/aaa/registration-token/retrieve
      void get​(java.lang.String token, com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get registration access token
      Use API POST /api/v1/aaa/registration-token/retrieve
      RegistrationToken get​(java.lang.String token, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get registration access token
      Use API POST /api/v1/aaa/registration-token/retrieve
      • 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

      • RegistrationTokenStub

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

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

      • create

        public RegistrationToken create()
        Description copied from interface: RegistrationToken
        The privileges of the registration token will be the same as the caller.

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

        Specified by:
        create in interface RegistrationToken
        Returns:
        com.vmware.nsx_policy.model.RegistrationToken
      • create

        public RegistrationToken create​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RegistrationToken
        The privileges of the registration token will be the same as the caller.

        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 RegistrationToken
        Parameters:
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.RegistrationToken
      • create

        public void create​(com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)
        Description copied from interface: RegistrationToken
        The privileges of the registration token will be the same as the caller.

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

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

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

        Specified by:
        create in interface RegistrationToken
        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • create

        public void create​(com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RegistrationToken
        The privileges of the registration token will be the same as the caller.

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

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

        Specified by:
        create in interface RegistrationToken
        Parameters:
        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 token)
        Description copied from interface: RegistrationToken
        Delete registration access token
        Use API POST /api/v1/aaa/registration-token/delete

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

        Specified by:
        delete in interface RegistrationToken
        Parameters:
        token - Registration token (required)
      • delete

        public void delete​(java.lang.String token,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RegistrationToken
        Delete registration access token
        Use API POST /api/v1/aaa/registration-token/delete

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

        public void delete​(java.lang.String token,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: RegistrationToken
        Delete registration access token
        Use API POST /api/v1/aaa/registration-token/delete

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

        public void delete​(java.lang.String token,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RegistrationToken
        Delete registration access token
        Use API POST /api/v1/aaa/registration-token/delete

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

        public RegistrationToken get​(java.lang.String token)
        Description copied from interface: RegistrationToken
        Get registration access token
        Use API POST /api/v1/aaa/registration-token/retrieve

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

        Specified by:
        get in interface RegistrationToken
        Parameters:
        token - Registration token (required)
        Returns:
        com.vmware.nsx_policy.model.RegistrationToken
      • get

        public RegistrationToken get​(java.lang.String token,
                                     com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RegistrationToken
        Get registration access token
        Use API POST /api/v1/aaa/registration-token/retrieve

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

        public void get​(java.lang.String token,
                        com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback)
        Description copied from interface: RegistrationToken
        Get registration access token
        Use API POST /api/v1/aaa/registration-token/retrieve

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

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

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

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

        public void get​(java.lang.String token,
                        com.vmware.vapi.bindings.client.AsyncCallback<RegistrationToken> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RegistrationToken
        Get registration access token
        Use API POST /api/v1/aaa/registration-token/retrieve

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

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

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