Class OutcomesBatchRequestItem

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OutcomesBatchRequestItem extends Object
Scorecard outcome for a specific rule, for a given service within a batched update.
  • Field Details

  • Constructor Details

    • OutcomesBatchRequestItem

      public OutcomesBatchRequestItem()
    • OutcomesBatchRequestItem

      public OutcomesBatchRequestItem(String ruleId, String serviceName, State state)
  • Method Details

    • remarks

      public OutcomesBatchRequestItem remarks(String remarks)
    • getRemarks

      @Nullable public String getRemarks()
      Any remarks regarding the scorecard rule's evaluation, and supports HTML hyperlinks.
      Returns:
      remarks
    • setRemarks

      public void setRemarks(String remarks)
    • ruleId

      public OutcomesBatchRequestItem ruleId(String ruleId)
    • getRuleId

      public String getRuleId()
      The unique ID for a scorecard rule.
      Returns:
      ruleId
    • setRuleId

      public void setRuleId(String ruleId)
    • serviceName

      public OutcomesBatchRequestItem serviceName(String serviceName)
    • getServiceName

      public String getServiceName()
      The unique name for a service in the catalog.
      Returns:
      serviceName
    • setServiceName

      public void setServiceName(String serviceName)
    • state

      public OutcomesBatchRequestItem state(State state)
    • getState

      public State getState()
      The state of the rule evaluation.
      Returns:
      state
    • setState

      public void setState(State state)
    • putAdditionalProperty

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