Class RoleBindingsStub

  • All Implemented Interfaces:
    RoleBindings, RoleBindingsTypes, com.vmware.vapi.bindings.Service

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

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

    • Constructor Summary

      Constructors 
      Constructor Description
      RoleBindingsStub​(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)  
      RoleBindingsStub​(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
      RoleBinding create​(RoleBinding roleBinding)
      This API is used to assign a user/group any role(s) of choice.
      void create​(RoleBinding roleBinding, com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback)
      This API is used to assign a user/group any role(s) of choice.
      void create​(RoleBinding roleBinding, com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This API is used to assign a user/group any role(s) of choice.
      RoleBinding create​(RoleBinding roleBinding, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This API is used to assign a user/group any role(s) of choice.
      void delete​(java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type)
      Delete the user/group's role assignment.
      void delete​(java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Delete the user/group's role assignment.
      void delete​(java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete the user/group's role assignment.
      void delete​(java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete the user/group's role assignment.
      void deletestalebindings​(java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type)
      Delete all stale role assignments
      void deletestalebindings​(java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
      Delete all stale role assignments
      void deletestalebindings​(java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete all stale role assignments
      void deletestalebindings​(java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Delete all stale role assignments
      RoleBinding get​(java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type)
      Get user/group's role information
      void get​(java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback)
      Get user/group's role information
      void get​(java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get user/group's role information
      RoleBinding get​(java.lang.String bindingId, java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get user/group's role information
      RoleBindingListResult list​(java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type)
      Get all users and groups with their roles.
      void list​(java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<RoleBindingListResult> asyncCallback)
      Get all users and groups with their roles.
      void list​(java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<RoleBindingListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get all users and groups with their roles.
      RoleBindingListResult list​(java.lang.String cursor, java.lang.String identitySourceId, java.lang.String identitySourceType, java.lang.String includedFields, java.lang.String name, java.lang.Long pageSize, java.lang.String path, java.lang.String role, java.lang.String rootPath, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Get all users and groups with their roles.
      RoleBinding update​(java.lang.String bindingId, RoleBinding roleBinding)
      This API is used to update a user/group any role(s) of choice.
      void update​(java.lang.String bindingId, RoleBinding roleBinding, com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback)
      This API is used to update a user/group any role(s) of choice.
      void update​(java.lang.String bindingId, RoleBinding roleBinding, com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This API is used to update a user/group any role(s) of choice.
      RoleBinding update​(java.lang.String bindingId, RoleBinding roleBinding, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      This API is used to update a user/group any role(s) of choice.
      • 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

      • RoleBindingsStub

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

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

      • create

        public RoleBinding create​(RoleBinding roleBinding)
        Description copied from interface: RoleBindings
        This API is used to assign a user/group any role(s) of choice. It is recommended to use the new property roles_for_paths instead of roles. When using the roles_for_paths, set the read_roles_for_paths as true. User has union of all the roles assigned to it on a particular path and its sub-tree. User name is dealt case-insensitively.

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

        Specified by:
        create in interface RoleBindings
        Parameters:
        roleBinding - (required)
        Returns:
        com.vmware.nsx_policy.model.RoleBinding
      • create

        public RoleBinding create​(RoleBinding roleBinding,
                                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RoleBindings
        This API is used to assign a user/group any role(s) of choice. It is recommended to use the new property roles_for_paths instead of roles. When using the roles_for_paths, set the read_roles_for_paths as true. User has union of all the roles assigned to it on a particular path and its sub-tree. User name is dealt case-insensitively.

        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 RoleBindings
        Parameters:
        roleBinding - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.RoleBinding
      • create

        public void create​(RoleBinding roleBinding,
                           com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback)
        Description copied from interface: RoleBindings
        This API is used to assign a user/group any role(s) of choice. It is recommended to use the new property roles_for_paths instead of roles. When using the roles_for_paths, set the read_roles_for_paths as true. User has union of all the roles assigned to it on a particular path and its sub-tree. User name is dealt case-insensitively.

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

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

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

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

        public void create​(RoleBinding roleBinding,
                           com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RoleBindings
        This API is used to assign a user/group any role(s) of choice. It is recommended to use the new property roles_for_paths instead of roles. When using the roles_for_paths, set the read_roles_for_paths as true. User has union of all the roles assigned to it on a particular path and its sub-tree. User name is dealt case-insensitively.

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

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

        Specified by:
        create in interface RoleBindings
        Parameters:
        roleBinding - (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 bindingId,
                           java.lang.String cursor,
                           java.lang.String identitySourceId,
                           java.lang.String identitySourceType,
                           java.lang.String includedFields,
                           java.lang.String name,
                           java.lang.Long pageSize,
                           java.lang.String path,
                           java.lang.String role,
                           java.lang.String rootPath,
                           java.lang.Boolean sortAscending,
                           java.lang.String sortBy,
                           java.lang.String type)
        Description copied from interface: RoleBindings
        Delete the user/group's role assignment. If the path is provided then deletes only the roles_for_paths that matches the path. If path is provided for the last roles_for_paths then the whole role binding is deleted provided it is not that of a local user. For deleting multiple paths, please provide semi-colon ';' separated paths in the request parameter.

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

        Specified by:
        delete in interface RoleBindings
        Parameters:
        bindingId - User/Group's id (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
      • delete

        public void delete​(java.lang.String bindingId,
                           java.lang.String cursor,
                           java.lang.String identitySourceId,
                           java.lang.String identitySourceType,
                           java.lang.String includedFields,
                           java.lang.String name,
                           java.lang.Long pageSize,
                           java.lang.String path,
                           java.lang.String role,
                           java.lang.String rootPath,
                           java.lang.Boolean sortAscending,
                           java.lang.String sortBy,
                           java.lang.String type,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RoleBindings
        Delete the user/group's role assignment. If the path is provided then deletes only the roles_for_paths that matches the path. If path is provided for the last roles_for_paths then the whole role binding is deleted provided it is not that of a local user. For deleting multiple paths, please provide semi-colon ';' separated paths in the request parameter.

        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 RoleBindings
        Parameters:
        bindingId - User/Group's id (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        invocationConfig - Configuration for the method invocation.
      • delete

        public void delete​(java.lang.String bindingId,
                           java.lang.String cursor,
                           java.lang.String identitySourceId,
                           java.lang.String identitySourceType,
                           java.lang.String includedFields,
                           java.lang.String name,
                           java.lang.Long pageSize,
                           java.lang.String path,
                           java.lang.String role,
                           java.lang.String rootPath,
                           java.lang.Boolean sortAscending,
                           java.lang.String sortBy,
                           java.lang.String type,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: RoleBindings
        Delete the user/group's role assignment. If the path is provided then deletes only the roles_for_paths that matches the path. If path is provided for the last roles_for_paths then the whole role binding is deleted provided it is not that of a local user. For deleting multiple paths, please provide semi-colon ';' separated paths in the request parameter.

        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 RoleBindings
        Parameters:
        bindingId - User/Group's id (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • delete

        public void delete​(java.lang.String bindingId,
                           java.lang.String cursor,
                           java.lang.String identitySourceId,
                           java.lang.String identitySourceType,
                           java.lang.String includedFields,
                           java.lang.String name,
                           java.lang.Long pageSize,
                           java.lang.String path,
                           java.lang.String role,
                           java.lang.String rootPath,
                           java.lang.Boolean sortAscending,
                           java.lang.String sortBy,
                           java.lang.String type,
                           com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RoleBindings
        Delete the user/group's role assignment. If the path is provided then deletes only the roles_for_paths that matches the path. If path is provided for the last roles_for_paths then the whole role binding is deleted provided it is not that of a local user. For deleting multiple paths, please provide semi-colon ';' separated paths in the request parameter.

        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 RoleBindings
        Parameters:
        bindingId - User/Group's id (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • deletestalebindings

        public void deletestalebindings​(java.lang.String cursor,
                                        java.lang.String identitySourceId,
                                        java.lang.String identitySourceType,
                                        java.lang.String includedFields,
                                        java.lang.String name,
                                        java.lang.Long pageSize,
                                        java.lang.String path,
                                        java.lang.String role,
                                        java.lang.String rootPath,
                                        java.lang.Boolean sortAscending,
                                        java.lang.String sortBy,
                                        java.lang.String type)
        Description copied from interface: RoleBindings
        Delete all stale role assignments

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

        Specified by:
        deletestalebindings in interface RoleBindings
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
      • deletestalebindings

        public void deletestalebindings​(java.lang.String cursor,
                                        java.lang.String identitySourceId,
                                        java.lang.String identitySourceType,
                                        java.lang.String includedFields,
                                        java.lang.String name,
                                        java.lang.Long pageSize,
                                        java.lang.String path,
                                        java.lang.String role,
                                        java.lang.String rootPath,
                                        java.lang.Boolean sortAscending,
                                        java.lang.String sortBy,
                                        java.lang.String type,
                                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RoleBindings
        Delete all stale role assignments

        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:
        deletestalebindings in interface RoleBindings
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        invocationConfig - Configuration for the method invocation.
      • deletestalebindings

        public void deletestalebindings​(java.lang.String cursor,
                                        java.lang.String identitySourceId,
                                        java.lang.String identitySourceType,
                                        java.lang.String includedFields,
                                        java.lang.String name,
                                        java.lang.Long pageSize,
                                        java.lang.String path,
                                        java.lang.String role,
                                        java.lang.String rootPath,
                                        java.lang.Boolean sortAscending,
                                        java.lang.String sortBy,
                                        java.lang.String type,
                                        com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
        Description copied from interface: RoleBindings
        Delete all stale role assignments

        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:
        deletestalebindings in interface RoleBindings
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • deletestalebindings

        public void deletestalebindings​(java.lang.String cursor,
                                        java.lang.String identitySourceId,
                                        java.lang.String identitySourceType,
                                        java.lang.String includedFields,
                                        java.lang.String name,
                                        java.lang.Long pageSize,
                                        java.lang.String path,
                                        java.lang.String role,
                                        java.lang.String rootPath,
                                        java.lang.Boolean sortAscending,
                                        java.lang.String sortBy,
                                        java.lang.String type,
                                        com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
                                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RoleBindings
        Delete all stale role assignments

        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:
        deletestalebindings in interface RoleBindings
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • get

        public RoleBinding get​(java.lang.String bindingId,
                               java.lang.String cursor,
                               java.lang.String identitySourceId,
                               java.lang.String identitySourceType,
                               java.lang.String includedFields,
                               java.lang.String name,
                               java.lang.Long pageSize,
                               java.lang.String path,
                               java.lang.String role,
                               java.lang.String rootPath,
                               java.lang.Boolean sortAscending,
                               java.lang.String sortBy,
                               java.lang.String type)
        Description copied from interface: RoleBindings
        Get user/group's role information

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

        Specified by:
        get in interface RoleBindings
        Parameters:
        bindingId - User/Group's id (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        Returns:
        com.vmware.nsx_policy.model.RoleBinding
      • get

        public RoleBinding get​(java.lang.String bindingId,
                               java.lang.String cursor,
                               java.lang.String identitySourceId,
                               java.lang.String identitySourceType,
                               java.lang.String includedFields,
                               java.lang.String name,
                               java.lang.Long pageSize,
                               java.lang.String path,
                               java.lang.String role,
                               java.lang.String rootPath,
                               java.lang.Boolean sortAscending,
                               java.lang.String sortBy,
                               java.lang.String type,
                               com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RoleBindings
        Get user/group's role information

        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 RoleBindings
        Parameters:
        bindingId - User/Group's id (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.RoleBinding
      • get

        public void get​(java.lang.String bindingId,
                        java.lang.String cursor,
                        java.lang.String identitySourceId,
                        java.lang.String identitySourceType,
                        java.lang.String includedFields,
                        java.lang.String name,
                        java.lang.Long pageSize,
                        java.lang.String path,
                        java.lang.String role,
                        java.lang.String rootPath,
                        java.lang.Boolean sortAscending,
                        java.lang.String sortBy,
                        java.lang.String type,
                        com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback)
        Description copied from interface: RoleBindings
        Get user/group's role information

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

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

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

        Specified by:
        get in interface RoleBindings
        Parameters:
        bindingId - User/Group's id (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        public void get​(java.lang.String bindingId,
                        java.lang.String cursor,
                        java.lang.String identitySourceId,
                        java.lang.String identitySourceType,
                        java.lang.String includedFields,
                        java.lang.String name,
                        java.lang.Long pageSize,
                        java.lang.String path,
                        java.lang.String role,
                        java.lang.String rootPath,
                        java.lang.Boolean sortAscending,
                        java.lang.String sortBy,
                        java.lang.String type,
                        com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback,
                        com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RoleBindings
        Get user/group's role information

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

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

        Specified by:
        get in interface RoleBindings
        Parameters:
        bindingId - User/Group's id (required)
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • list

        public RoleBindingListResult list​(java.lang.String cursor,
                                          java.lang.String identitySourceId,
                                          java.lang.String identitySourceType,
                                          java.lang.String includedFields,
                                          java.lang.String name,
                                          java.lang.Long pageSize,
                                          java.lang.String path,
                                          java.lang.String role,
                                          java.lang.String rootPath,
                                          java.lang.Boolean sortAscending,
                                          java.lang.String sortBy,
                                          java.lang.String type)
        Description copied from interface: RoleBindings
        Get all users and groups with their roles. If the root_path is provided then only return role bindings that start-with or are sub-trees of the provided root path. Also filter the roles_for_paths such that only those roles_for_paths appear that start-with or are sub-tree of the provided root path.

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

        Specified by:
        list in interface RoleBindings
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        Returns:
        com.vmware.nsx_policy.model.RoleBindingListResult
      • list

        public RoleBindingListResult list​(java.lang.String cursor,
                                          java.lang.String identitySourceId,
                                          java.lang.String identitySourceType,
                                          java.lang.String includedFields,
                                          java.lang.String name,
                                          java.lang.Long pageSize,
                                          java.lang.String path,
                                          java.lang.String role,
                                          java.lang.String rootPath,
                                          java.lang.Boolean sortAscending,
                                          java.lang.String sortBy,
                                          java.lang.String type,
                                          com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RoleBindings
        Get all users and groups with their roles. If the root_path is provided then only return role bindings that start-with or are sub-trees of the provided root path. Also filter the roles_for_paths such that only those roles_for_paths appear that start-with or are sub-tree of the provided root path.

        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 RoleBindings
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.RoleBindingListResult
      • list

        public void list​(java.lang.String cursor,
                         java.lang.String identitySourceId,
                         java.lang.String identitySourceType,
                         java.lang.String includedFields,
                         java.lang.String name,
                         java.lang.Long pageSize,
                         java.lang.String path,
                         java.lang.String role,
                         java.lang.String rootPath,
                         java.lang.Boolean sortAscending,
                         java.lang.String sortBy,
                         java.lang.String type,
                         com.vmware.vapi.bindings.client.AsyncCallback<RoleBindingListResult> asyncCallback)
        Description copied from interface: RoleBindings
        Get all users and groups with their roles. If the root_path is provided then only return role bindings that start-with or are sub-trees of the provided root path. Also filter the roles_for_paths such that only those roles_for_paths appear that start-with or are sub-tree of the provided root path.

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

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

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

        Specified by:
        list in interface RoleBindings
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • list

        public void list​(java.lang.String cursor,
                         java.lang.String identitySourceId,
                         java.lang.String identitySourceType,
                         java.lang.String includedFields,
                         java.lang.String name,
                         java.lang.Long pageSize,
                         java.lang.String path,
                         java.lang.String role,
                         java.lang.String rootPath,
                         java.lang.Boolean sortAscending,
                         java.lang.String sortBy,
                         java.lang.String type,
                         com.vmware.vapi.bindings.client.AsyncCallback<RoleBindingListResult> asyncCallback,
                         com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RoleBindings
        Get all users and groups with their roles. If the root_path is provided then only return role bindings that start-with or are sub-trees of the provided root path. Also filter the roles_for_paths such that only those roles_for_paths appear that start-with or are sub-tree of the provided root path.

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

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

        Specified by:
        list in interface RoleBindings
        Parameters:
        cursor - Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)
        identitySourceId - Identity source ID (optional)
        identitySourceType - Identity source type (optional)
        includedFields - Comma separated list of fields that should be included in query result (optional)
        name - User/Group name (optional)
        pageSize - Maximum number of results to return in this page (server may return fewer) (optional, default to 1000)
        path - Exact path of the context (optional)
        role - Role ID (optional)
        rootPath - Prefix path of the context (optional)
        sortAscending - (optional)
        sortBy - Field by which records are sorted (optional)
        type - Type (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        public RoleBinding update​(java.lang.String bindingId,
                                  RoleBinding roleBinding)
        Description copied from interface: RoleBindings
        This API is used to update a user/group any role(s) of choice. It is recommended to use the new property roles_for_paths instead of roles. When using the roles_for_paths, set the read_roles_for_paths as true. User has union of all the roles assigned to it on a particular path and its sub-tree. User name is dealt case-insensitively. This API will merge the existing roles_for_paths with the newly provided roles_for_paths excluding roles_for_paths those are marked for deletion.

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

        Specified by:
        update in interface RoleBindings
        Parameters:
        bindingId - User/Group's id (required)
        roleBinding - (required)
        Returns:
        com.vmware.nsx_policy.model.RoleBinding
      • update

        public RoleBinding update​(java.lang.String bindingId,
                                  RoleBinding roleBinding,
                                  com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RoleBindings
        This API is used to update a user/group any role(s) of choice. It is recommended to use the new property roles_for_paths instead of roles. When using the roles_for_paths, set the read_roles_for_paths as true. User has union of all the roles assigned to it on a particular path and its sub-tree. User name is dealt case-insensitively. This API will merge the existing roles_for_paths with the newly provided roles_for_paths excluding roles_for_paths those are marked for deletion.

        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 RoleBindings
        Parameters:
        bindingId - User/Group's id (required)
        roleBinding - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.RoleBinding
      • update

        public void update​(java.lang.String bindingId,
                           RoleBinding roleBinding,
                           com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback)
        Description copied from interface: RoleBindings
        This API is used to update a user/group any role(s) of choice. It is recommended to use the new property roles_for_paths instead of roles. When using the roles_for_paths, set the read_roles_for_paths as true. User has union of all the roles assigned to it on a particular path and its sub-tree. User name is dealt case-insensitively. This API will merge the existing roles_for_paths with the newly provided roles_for_paths excluding roles_for_paths those are marked for deletion.

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

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

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

        Specified by:
        update in interface RoleBindings
        Parameters:
        bindingId - User/Group's id (required)
        roleBinding - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        public void update​(java.lang.String bindingId,
                           RoleBinding roleBinding,
                           com.vmware.vapi.bindings.client.AsyncCallback<RoleBinding> asyncCallback,
                           com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Description copied from interface: RoleBindings
        This API is used to update a user/group any role(s) of choice. It is recommended to use the new property roles_for_paths instead of roles. When using the roles_for_paths, set the read_roles_for_paths as true. User has union of all the roles assigned to it on a particular path and its sub-tree. User name is dealt case-insensitively. This API will merge the existing roles_for_paths with the newly provided roles_for_paths excluding roles_for_paths those are marked for deletion.

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

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

        Specified by:
        update in interface RoleBindings
        Parameters:
        bindingId - User/Group's id (required)
        roleBinding - (required)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.