Class ActionQuery

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ActionQuery extends Object
An action query. This query type is used to trigger an action, such as sending a HTTP request.
  • Field Details

  • Constructor Details

  • Method Details

    • events

      public ActionQuery events(List<AppBuilderEvent> events)
    • addEventsItem

      public ActionQuery addEventsItem(AppBuilderEvent eventsItem)
    • getEvents

      @Nullable public List<AppBuilderEvent> getEvents()
      Events to listen for downstream of the action query.
      Returns:
      events
    • setEvents

      public void setEvents(List<AppBuilderEvent> events)
    • id

      public ActionQuery id(UUID id)
    • getId

      public UUID getId()
      The ID of the action query.
      Returns:
      id
    • setId

      public void setId(UUID id)
    • name

      public ActionQuery name(String name)
    • getName

      public String getName()
      A unique identifier for this action query. This name is also used to access the query's result throughout the app.
      Returns:
      name
    • setName

      public void setName(String name)
    • properties

      public ActionQuery properties(ActionQueryProperties properties)
    • getProperties

      public ActionQueryProperties getProperties()
      The properties of the action query.
      Returns:
      properties
    • setProperties

      public void setProperties(ActionQueryProperties properties)
    • type

      public ActionQuery type(ActionQueryType type)
    • getType

      public ActionQueryType getType()
      The action query type.
      Returns:
      type
    • setType

      public void setType(ActionQueryType type)
    • putAdditionalProperty

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