Package com.datadog.api.client.v2.model
Class SecurityMonitoringRuleCaseActionOptions
java.lang.Object
com.datadog.api.client.v2.model.SecurityMonitoringRuleCaseActionOptions
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SecurityMonitoringRuleCaseActionOptions
extends Object
Options for the rule action
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SecurityMonitoringRuleCaseActionOptions object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Duration of the action in seconds.Used with the case action of type 'flag_ip'.Used with the case action of type 'user_behavior'.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDuration(Long duration) voidvoidsetUserBehaviorName(String userBehaviorName) toString()userBehaviorName(String userBehaviorName)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DURATION
- See Also:
-
JSON_PROPERTY_FLAGGED_IP_TYPE
- See Also:
-
JSON_PROPERTY_USER_BEHAVIOR_NAME
- See Also:
-
-
Constructor Details
-
SecurityMonitoringRuleCaseActionOptions
public SecurityMonitoringRuleCaseActionOptions()
-
-
Method Details
-
duration
-
getDuration
Duration of the action in seconds. 0 indicates no expiration. minimum: 0- Returns:
- duration
-
setDuration
-
flaggedIpType
public SecurityMonitoringRuleCaseActionOptions flaggedIpType(SecurityMonitoringRuleCaseActionOptionsFlaggedIPType flaggedIpType) -
getFlaggedIpType
Used with the case action of type 'flag_ip'. The value specified in this field is applied as a flag to the IP addresses.- Returns:
- flaggedIpType
-
setFlaggedIpType
-
userBehaviorName
-
getUserBehaviorName
Used with the case action of type 'user_behavior'. The value specified in this field is applied as a risk tag to all users affected by the rule.- Returns:
- userBehaviorName
-
setUserBehaviorName
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- SecurityMonitoringRuleCaseActionOptions
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this SecurityMonitoringRuleCaseActionOptions object is equal to o. -
hashCode
public int hashCode() -
toString
-