Class BehaviorApi

java.lang.Object
com.okta.sdk.resource.api.BehaviorApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-29T16:47:02.065887-05:00[America/Chicago]", comments="Generator version: 7.4.0") public class BehaviorApi extends Object
  • Constructor Details

    • BehaviorApi

      public BehaviorApi()
    • BehaviorApi

      public BehaviorApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • activateBehaviorDetectionRule

      public BehaviorRule activateBehaviorDetectionRule(String behaviorId) throws ApiException
      Activate a Behavior Detection Rule Activates a behavior detection rule
      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Returns:
      BehaviorRule
      Throws:
      ApiException - if fails to make API call
    • activateBehaviorDetectionRule

      public BehaviorRule activateBehaviorDetectionRule(String behaviorId, Map<String,String> additionalHeaders) throws ApiException
      Activate a Behavior Detection Rule Activates a behavior detection rule
      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      BehaviorRule
      Throws:
      ApiException - if fails to make API call
    • createBehaviorDetectionRule

      public BehaviorRule createBehaviorDetectionRule(BehaviorRule rule) throws ApiException
      Create a Behavior Detection Rule Creates a new behavior detection rule
      Parameters:
      rule - (required)
      Returns:
      BehaviorRule
      Throws:
      ApiException - if fails to make API call
    • createBehaviorDetectionRule

      public BehaviorRule createBehaviorDetectionRule(BehaviorRule rule, Map<String,String> additionalHeaders) throws ApiException
      Create a Behavior Detection Rule Creates a new behavior detection rule
      Parameters:
      rule - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      BehaviorRule
      Throws:
      ApiException - if fails to make API call
    • deactivateBehaviorDetectionRule

      public BehaviorRule deactivateBehaviorDetectionRule(String behaviorId) throws ApiException
      Deactivate a Behavior Detection Rule Deactivates a behavior detection rule
      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Returns:
      BehaviorRule
      Throws:
      ApiException - if fails to make API call
    • deactivateBehaviorDetectionRule

      public BehaviorRule deactivateBehaviorDetectionRule(String behaviorId, Map<String,String> additionalHeaders) throws ApiException
      Deactivate a Behavior Detection Rule Deactivates a behavior detection rule
      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      BehaviorRule
      Throws:
      ApiException - if fails to make API call
    • deleteBehaviorDetectionRule

      public void deleteBehaviorDetectionRule(String behaviorId) throws ApiException
      Delete a Behavior Detection Rule Deletes a Behavior Detection Rule by `behaviorId`
      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Throws:
      ApiException - if fails to make API call
    • deleteBehaviorDetectionRule

      public void deleteBehaviorDetectionRule(String behaviorId, Map<String,String> additionalHeaders) throws ApiException
      Delete a Behavior Detection Rule Deletes a Behavior Detection Rule by `behaviorId`
      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      additionalHeaders - additionalHeaders for this call
      Throws:
      ApiException - if fails to make API call
    • getBehaviorDetectionRule

      public BehaviorRule getBehaviorDetectionRule(String behaviorId) throws ApiException
      Retrieve a Behavior Detection Rule Retrieves a Behavior Detection Rule by `behaviorId`
      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      Returns:
      BehaviorRule
      Throws:
      ApiException - if fails to make API call
    • getBehaviorDetectionRule

      public BehaviorRule getBehaviorDetectionRule(String behaviorId, Map<String,String> additionalHeaders) throws ApiException
      Retrieve a Behavior Detection Rule Retrieves a Behavior Detection Rule by `behaviorId`
      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      BehaviorRule
      Throws:
      ApiException - if fails to make API call
    • listBehaviorDetectionRules

      public List<BehaviorRule> listBehaviorDetectionRules() throws ApiException
      List all Behavior Detection Rules Lists all behavior detection rules with pagination support
      Returns:
      List<BehaviorRule>
      Throws:
      ApiException - if fails to make API call
    • listBehaviorDetectionRules

      public List<BehaviorRule> listBehaviorDetectionRules(Map<String,String> additionalHeaders) throws ApiException
      List all Behavior Detection Rules Lists all behavior detection rules with pagination support
      Parameters:
      additionalHeaders - additionalHeaders for this call
      Returns:
      List<BehaviorRule>
      Throws:
      ApiException - if fails to make API call
    • replaceBehaviorDetectionRule

      public BehaviorRule replaceBehaviorDetectionRule(String behaviorId, BehaviorRule rule) throws ApiException
      Replace a Behavior Detection Rule Replaces a Behavior Detection Rule by `behaviorId`
      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      rule - (required)
      Returns:
      BehaviorRule
      Throws:
      ApiException - if fails to make API call
    • replaceBehaviorDetectionRule

      public BehaviorRule replaceBehaviorDetectionRule(String behaviorId, BehaviorRule rule, Map<String,String> additionalHeaders) throws ApiException
      Replace a Behavior Detection Rule Replaces a Behavior Detection Rule by `behaviorId`
      Parameters:
      behaviorId - id of the Behavior Detection Rule (required)
      rule - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      BehaviorRule
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

      protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()