Package com.okta.sdk.resource.api
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionactivateBehaviorDetectionRule
(String behaviorId) Activate a Behavior Detection Rule Activates a behavior detection ruleactivateBehaviorDetectionRule
(String behaviorId, Map<String, String> additionalHeaders) Activate a Behavior Detection Rule Activates a behavior detection ruleCreate a Behavior Detection Rule Creates a new behavior detection rulecreateBehaviorDetectionRule
(BehaviorRule rule, Map<String, String> additionalHeaders) Create a Behavior Detection Rule Creates a new behavior detection ruledeactivateBehaviorDetectionRule
(String behaviorId) Deactivate a Behavior Detection Rule Deactivates a behavior detection ruledeactivateBehaviorDetectionRule
(String behaviorId, Map<String, String> additionalHeaders) Deactivate a Behavior Detection Rule Deactivates a behavior detection rulevoid
deleteBehaviorDetectionRule
(String behaviorId) Delete a Behavior Detection Rule Deletes a Behavior Detection Rule by `behaviorId`void
deleteBehaviorDetectionRule
(String behaviorId, Map<String, String> additionalHeaders) Delete a Behavior Detection Rule Deletes a Behavior Detection Rule by `behaviorId`getBehaviorDetectionRule
(String behaviorId) Retrieve a Behavior Detection Rule Retrieves a Behavior Detection Rule by `behaviorId`getBehaviorDetectionRule
(String behaviorId, Map<String, String> additionalHeaders) Retrieve a Behavior Detection Rule Retrieves a Behavior Detection Rule by `behaviorId`protected static com.fasterxml.jackson.databind.ObjectMapper
List all Behavior Detection Rules Lists all behavior detection rules with pagination supportlistBehaviorDetectionRules
(Map<String, String> additionalHeaders) List all Behavior Detection Rules Lists all behavior detection rules with pagination supportreplaceBehaviorDetectionRule
(String behaviorId, BehaviorRule rule) Replace a Behavior Detection Rule Replaces a Behavior Detection Rule by `behaviorId`replaceBehaviorDetectionRule
(String behaviorId, BehaviorRule rule, Map<String, String> additionalHeaders) Replace a Behavior Detection Rule Replaces a Behavior Detection Rule by `behaviorId`void
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
BehaviorApi
public BehaviorApi() -
BehaviorApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
activateBehaviorDetectionRule
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 ApiExceptionActivate 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
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 ApiExceptionCreate 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
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 ApiExceptionDeactivate 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
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 ApiExceptionDelete 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
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 ApiExceptionRetrieve 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
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 ApiExceptionList 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 ApiExceptionReplace 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()
-