Class CabundlesStub

  • All Implemented Interfaces:
    Cabundles, CabundlesTypes, com.vmware.vapi.bindings.Service

    public class CabundlesStub
    extends com.vmware.vapi.internal.bindings.Stub
    implements Cabundles
    Remote stub implementation of the Cabundles API service.

    WARNING: Internal class, subject to change in future versions.

    • Constructor Summary

      Constructors 
      Constructor Description
      CabundlesStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      CabundlesStub​(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
      void delete​(java.lang.String cabundleId)
      Deletes the specified bundle of trusted CA certificates.
      void delete​(java.lang.String cabundleId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Deletes the specified bundle of trusted CA certificates.
      void delete​(java.lang.String cabundleId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deletes the specified bundle of trusted CA certificates.
      void delete​(java.lang.String cabundleId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deletes the specified bundle of trusted CA certificates.
      CaBundle get​(java.lang.String cabundleId)
      Returns information about the specified bundle of trusted CA certificates.
      void get​(java.lang.String cabundleId, com.vmware.vapi.bindings.client.AsyncCallback<CaBundle> asyncCallback)
      Returns information about the specified bundle of trusted CA certificates.
      void get​(java.lang.String cabundleId, com.vmware.vapi.bindings.client.AsyncCallback<CaBundle> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns information about the specified bundle of trusted CA certificates.
      CaBundle get​(java.lang.String cabundleId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns information about the specified bundle of trusted CA certificates.
      CaBundleListResult list​(java.lang.String cursor, java.lang.Boolean details, java.lang.String includedFields, java.lang.String nodeId, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type)
      Returns information about all the bundles of trusted CA certificates.
      void list​(java.lang.String cursor, java.lang.Boolean details, java.lang.String includedFields, java.lang.String nodeId, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<CaBundleListResult> asyncCallback)
      Returns information about all the bundles of trusted CA certificates.
      void list​(java.lang.String cursor, java.lang.Boolean details, java.lang.String includedFields, java.lang.String nodeId, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<CaBundleListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns information about all the bundles of trusted CA certificates.
      CaBundleListResult list​(java.lang.String cursor, java.lang.Boolean details, java.lang.String includedFields, java.lang.String nodeId, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Returns information about all the bundles of trusted CA certificates.
      CaBundle patch​(java.lang.String cabundleId, CaBundle caBundle)
      Adds or updates a new bundle of trusted CA certificates.
      void patch​(java.lang.String cabundleId, CaBundle caBundle, com.vmware.vapi.bindings.client.AsyncCallback<CaBundle> asyncCallback)
      Adds or updates a new bundle of trusted CA certificates.
      void patch​(java.lang.String cabundleId, CaBundle caBundle, com.vmware.vapi.bindings.client.AsyncCallback<CaBundle> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Adds or updates a new bundle of trusted CA certificates.
      CaBundle patch​(java.lang.String cabundleId, CaBundle caBundle, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Adds or updates a new bundle of trusted CA certificates.
      CaBundle update​(java.lang.String cabundleId, CaBundle caBundle)
      Adds or replaces a new bundle of trusted CA certificates.
      void update​(java.lang.String cabundleId, CaBundle caBundle, com.vmware.vapi.bindings.client.AsyncCallback<CaBundle> asyncCallback)
      Adds or replaces a new bundle of trusted CA certificates.
      void update​(java.lang.String cabundleId, CaBundle caBundle, com.vmware.vapi.bindings.client.AsyncCallback<CaBundle> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Adds or replaces a new bundle of trusted CA certificates.
      CaBundle update​(java.lang.String cabundleId, CaBundle caBundle, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Adds or replaces a new bundle of trusted CA certificates.
      • 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

      • CabundlesStub

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

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

      • delete

        public void delete​(java.lang.String cabundleId)
        Description copied from interface: Cabundles
        Deletes the specified bundle of trusted CA certificates.

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

        Specified by:
        delete in interface Cabundles
        Parameters:
        cabundleId - ID of the CA bundle to delete (required)
      • delete

        public void delete​(java.lang.String cabundleId,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Cabundles
        Deletes the specified bundle of trusted CA certificates.

        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 Cabundles
        Parameters:
        cabundleId - ID of the CA bundle to delete (required)
        invocationConfig - Configuration for the method invocation.
      • delete

        public void delete​(java.lang.String cabundleId,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: Cabundles
        Deletes the specified bundle of trusted CA certificates.

        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 Cabundles
        Parameters:
        cabundleId - ID of the CA bundle to delete (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        public void delete​(java.lang.String cabundleId,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Cabundles
        Deletes the specified bundle of trusted CA certificates.

        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 Cabundles
        Parameters:
        cabundleId - ID of the CA bundle to delete (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        public CaBundle get​(java.lang.String cabundleId)
        Description copied from interface: Cabundles
        Returns information about the specified bundle of trusted CA certificates.

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

        Specified by:
        get in interface Cabundles
        Parameters:
        cabundleId - ID of the CA bundle to retrieve (required)
        Returns:
        com.vmware.nsx_policy.model.CaBundle
      • get

        public CaBundle get​(java.lang.String cabundleId,
                            com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Cabundles
        Returns information about the specified bundle of trusted CA certificates.

        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 Cabundles
        Parameters:
        cabundleId - ID of the CA bundle to retrieve (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.CaBundle
      • get

        public void get​(java.lang.String cabundleId,
                        com.vmware.vapi.bindings.client.AsyncCallback<CaBundle> asyncCallback)
        Description copied from interface: Cabundles
        Returns information about the specified bundle of trusted CA certificates.

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

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

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

        Specified by:
        get in interface Cabundles
        Parameters:
        cabundleId - ID of the CA bundle to retrieve (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String cabundleId,
                        com.vmware.vapi.bindings.client.AsyncCallback<CaBundle> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Cabundles
        Returns information about the specified bundle of trusted CA certificates.

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

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

        Specified by:
        get in interface Cabundles
        Parameters:
        cabundleId - ID of the CA bundle to retrieve (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        public CaBundleListResult list​(java.lang.String cursor,
                                       java.lang.Boolean details,
                                       java.lang.String includedFields,
                                       java.lang.String nodeId,
                                       java.lang.Long pageSize,
                                       java.lang.Boolean sortAscending,
                                       java.lang.String sortBy,
                                       java.lang.String type)
        Description copied from interface: Cabundles
        Returns information about all the bundles of trusted CA certificates.

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

        Specified by:
        list in interface Cabundles
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        details - whether to expand the pem data and show all its details (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        nodeId - Node ID of certificate to return (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)
        type - Type of certificate to return (optional)
        Returns:
        com.vmware.nsx_policy.model.CaBundleListResult
      • list

        public CaBundleListResult list​(java.lang.String cursor,
                                       java.lang.Boolean details,
                                       java.lang.String includedFields,
                                       java.lang.String nodeId,
                                       java.lang.Long pageSize,
                                       java.lang.Boolean sortAscending,
                                       java.lang.String sortBy,
                                       java.lang.String type,
                                       com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Cabundles
        Returns information about all the bundles of trusted CA certificates.

        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 Cabundles
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        details - whether to expand the pem data and show all its details (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        nodeId - Node ID of certificate to return (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)
        type - Type of certificate to return (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.CaBundleListResult
      • list

        public void list​(java.lang.String cursor,
                         java.lang.Boolean details,
                         java.lang.String includedFields,
                         java.lang.String nodeId,
                         java.lang.Long pageSize,
                         java.lang.Boolean sortAscending,
                         java.lang.String sortBy,
                         java.lang.String type,
                         com.vmware.vapi.bindings.client.AsyncCallback<CaBundleListResult> asyncCallback)
        Description copied from interface: Cabundles
        Returns information about all the bundles of trusted CA certificates.

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

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

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

        Specified by:
        list in interface Cabundles
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        details - whether to expand the pem data and show all its details (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        nodeId - Node ID of certificate to return (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)
        type - Type of certificate to return (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        public void list​(java.lang.String cursor,
                         java.lang.Boolean details,
                         java.lang.String includedFields,
                         java.lang.String nodeId,
                         java.lang.Long pageSize,
                         java.lang.Boolean sortAscending,
                         java.lang.String sortBy,
                         java.lang.String type,
                         com.vmware.vapi.bindings.client.AsyncCallback<CaBundleListResult> asyncCallback,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Cabundles
        Returns information about all the bundles of trusted CA certificates.

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

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

        Specified by:
        list in interface Cabundles
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        details - whether to expand the pem data and show all its details (optional, default to false)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        nodeId - Node ID of certificate to return (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)
        type - Type of certificate to return (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • patch

        public CaBundle patch​(java.lang.String cabundleId,
                              CaBundle caBundle)
        Description copied from interface: Cabundles
        Adds or updates a new bundle of trusted CA certificates. The bundle must be a concatenation of one or more PEM-encoded certificates. The PEM-encoded bundle is replaced with the one provided in the request.

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

        Specified by:
        patch in interface Cabundles
        Parameters:
        cabundleId - ID of the CA bundle being updated (required)
        caBundle - (required)
        Returns:
        com.vmware.nsx_policy.model.CaBundle
      • patch

        public CaBundle patch​(java.lang.String cabundleId,
                              CaBundle caBundle,
                              com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Cabundles
        Adds or updates a new bundle of trusted CA certificates. The bundle must be a concatenation of one or more PEM-encoded certificates. The PEM-encoded bundle is replaced with the one provided in the request.

        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 Cabundles
        Parameters:
        cabundleId - ID of the CA bundle being updated (required)
        caBundle - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.CaBundle
      • patch

        public void patch​(java.lang.String cabundleId,
                          CaBundle caBundle,
                          com.vmware.vapi.bindings.client.AsyncCallback<CaBundle> asyncCallback)
        Description copied from interface: Cabundles
        Adds or updates a new bundle of trusted CA certificates. The bundle must be a concatenation of one or more PEM-encoded certificates. The PEM-encoded bundle is replaced with the one provided in the request.

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

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

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

        Specified by:
        patch in interface Cabundles
        Parameters:
        cabundleId - ID of the CA bundle being updated (required)
        caBundle - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • patch

        public void patch​(java.lang.String cabundleId,
                          CaBundle caBundle,
                          com.vmware.vapi.bindings.client.AsyncCallback<CaBundle> asyncCallback,
                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Cabundles
        Adds or updates a new bundle of trusted CA certificates. The bundle must be a concatenation of one or more PEM-encoded certificates. The PEM-encoded bundle is replaced with the one provided in the request.

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

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

        Specified by:
        patch in interface Cabundles
        Parameters:
        cabundleId - ID of the CA bundle being updated (required)
        caBundle - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public CaBundle update​(java.lang.String cabundleId,
                               CaBundle caBundle)
        Description copied from interface: Cabundles
        Adds or replaces a new bundle of trusted CA certificates. The bundle must be a concatenation of one or more PEM-encoded certificates.

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

        Specified by:
        update in interface Cabundles
        Parameters:
        cabundleId - ID of the CA bundle being uploaded (required)
        caBundle - (required)
        Returns:
        com.vmware.nsx_policy.model.CaBundle
      • update

        public CaBundle update​(java.lang.String cabundleId,
                               CaBundle caBundle,
                               com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Cabundles
        Adds or replaces a new bundle of trusted CA certificates. The bundle must be a concatenation of one or more PEM-encoded certificates.

        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 Cabundles
        Parameters:
        cabundleId - ID of the CA bundle being uploaded (required)
        caBundle - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.CaBundle
      • update

        public void update​(java.lang.String cabundleId,
                           CaBundle caBundle,
                           com.vmware.vapi.bindings.client.AsyncCallback<CaBundle> asyncCallback)
        Description copied from interface: Cabundles
        Adds or replaces a new bundle of trusted CA certificates. The bundle must be a concatenation of one or more PEM-encoded certificates.

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

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

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

        Specified by:
        update in interface Cabundles
        Parameters:
        cabundleId - ID of the CA bundle being uploaded (required)
        caBundle - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        public void update​(java.lang.String cabundleId,
                           CaBundle caBundle,
                           com.vmware.vapi.bindings.client.AsyncCallback<CaBundle> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: Cabundles
        Adds or replaces a new bundle of trusted CA certificates. The bundle must be a concatenation of one or more PEM-encoded certificates.

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

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

        Specified by:
        update in interface Cabundles
        Parameters:
        cabundleId - ID of the CA bundle being uploaded (required)
        caBundle - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.