Class SecurityNamespacesRequestBuilder

java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.security.securitynamespaces.SecurityNamespacesRequestBuilder

public class SecurityNamespacesRequestBuilder extends BaseRequestBuilder
Provides functionality to work with Security Api.
  • Constructor Details

    • SecurityNamespacesRequestBuilder

      public SecurityNamespacesRequestBuilder(String organizationUrl, AccessTokenCredential accessTokenCredential)
      Instantiates a new RequestBuilder instance and sets the default values.
      Parameters:
      organizationUrl - Represents organization location request url.
      accessTokenCredential - Access token credential object.
  • Method Details

    • queryAsync

      public CompletableFuture<SecurityNamespaces> queryAsync(String securityNamespaceId, boolean localOnly) throws AzDException
      List all security namespaces or just the specified namespace.
      Parameters:
      securityNamespaceId - Security namespace identifier.
      localOnly - If true, retrieve only local security namespaces.
      Returns:
      Collection of Security name spaces SecurityNamespaces
      Throws:
      AzDException - Default Api exception handler.
    • query

      public SecurityNamespaces query(String securityNamespaceId, boolean localOnly) throws AzDException
      List all security namespaces or just the specified namespace.
      Parameters:
      securityNamespaceId - Security namespace identifier.
      localOnly - If true, retrieve only local security namespaces.
      Returns:
      Collection of Security name spaces SecurityNamespaces
      Throws:
      AzDException - Default Api exception handler.