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 Details

  • Constructor Details

    • SecurityMonitoringRuleCaseActionOptions

      public SecurityMonitoringRuleCaseActionOptions()
  • Method Details

    • duration

      public SecurityMonitoringRuleCaseActionOptions duration(Long duration)
    • getDuration

      @Nullable public Long getDuration()
      Duration of the action in seconds. 0 indicates no expiration. minimum: 0
      Returns:
      duration
    • setDuration

      public void setDuration(Long duration)
    • flaggedIpType

    • getFlaggedIpType

      @Nullable public SecurityMonitoringRuleCaseActionOptionsFlaggedIPType 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

      public void setFlaggedIpType(SecurityMonitoringRuleCaseActionOptionsFlaggedIPType flaggedIpType)
    • userBehaviorName

      public SecurityMonitoringRuleCaseActionOptions userBehaviorName(String userBehaviorName)
    • getUserBehaviorName

      @Nullable public String 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

      public void setUserBehaviorName(String userBehaviorName)
    • putAdditionalProperty

      public SecurityMonitoringRuleCaseActionOptions putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      SecurityMonitoringRuleCaseActionOptions
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this SecurityMonitoringRuleCaseActionOptions object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object