Class GovernanceMitigationRequestAttributes

java.lang.Object
com.datadog.api.client.v2.model.GovernanceMitigationRequestAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class GovernanceMitigationRequestAttributes extends Object
The attributes of a governance mitigation request.
  • Field Details

  • Constructor Details

    • GovernanceMitigationRequestAttributes

      public GovernanceMitigationRequestAttributes()
    • GovernanceMitigationRequestAttributes

      public GovernanceMitigationRequestAttributes(List<String> detectionIds, String detectionType)
  • Method Details

    • detectionIds

      public GovernanceMitigationRequestAttributes detectionIds(List<String> detectionIds)
    • addDetectionIdsItem

      public GovernanceMitigationRequestAttributes addDetectionIdsItem(String detectionIdsItem)
    • getDetectionIds

      public List<String> getDetectionIds()
      The identifiers of the detections to mitigate in this request.
      Returns:
      detectionIds
    • setDetectionIds

      public void setDetectionIds(List<String> detectionIds)
    • detectionType

      public GovernanceMitigationRequestAttributes detectionType(String detectionType)
    • getDetectionType

      public String getDetectionType()
      The detection type whose detections should be mitigated.
      Returns:
      detectionType
    • setDetectionType

      public void setDetectionType(String detectionType)
    • mitigationParameters

      public GovernanceMitigationRequestAttributes mitigationParameters(Map<String,Object> mitigationParameters)
    • putMitigationParametersItem

      public GovernanceMitigationRequestAttributes putMitigationParametersItem(String key, Object mitigationParametersItem)
    • getMitigationParameters

      @Nullable public Map<String,Object> getMitigationParameters()
      A free-form map of parameter names to their configured values.
      Returns:
      mitigationParameters
    • setMitigationParameters

      public void setMitigationParameters(Map<String,Object> mitigationParameters)
    • mitigationType

      public GovernanceMitigationRequestAttributes mitigationType(String mitigationType)
    • getMitigationType

      @Nullable public String getMitigationType()
      The mitigation to apply to the selected detections. Defaults to the control's configured mitigation when omitted.
      Returns:
      mitigationType
    • setMitigationType

      public void setMitigationType(String mitigationType)
    • putAdditionalProperty

      public GovernanceMitigationRequestAttributes 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:
      GovernanceMitigationRequestAttributes
    • 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 GovernanceMitigationRequestAttributes 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