Class SecurityMonitoringRuleQueryPayload

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SecurityMonitoringRuleQueryPayload extends Object
Payload to test a rule query with the expected result.
  • Field Details

  • Constructor Details

    • SecurityMonitoringRuleQueryPayload

      public SecurityMonitoringRuleQueryPayload()
  • Method Details

    • expectedResult

      public SecurityMonitoringRuleQueryPayload expectedResult(Boolean expectedResult)
    • getExpectedResult

      @Nullable public Boolean getExpectedResult()
      Expected result of the test.
      Returns:
      expectedResult
    • setExpectedResult

      public void setExpectedResult(Boolean expectedResult)
    • index

    • getIndex

      @Nullable public Long getIndex()
      Index of the query under test. minimum: 0
      Returns:
      index
    • setIndex

      public void setIndex(Long index)
    • payload

    • getPayload

      @Nullable public SecurityMonitoringRuleQueryPayloadData getPayload()
      Payload used to test the rule query.
      Returns:
      payload
    • setPayload

      public void setPayload(SecurityMonitoringRuleQueryPayloadData payload)
    • putAdditionalProperty

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