Class LogsIndexesOrder

java.lang.Object
com.datadog.api.client.v1.model.LogsIndexesOrder

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsIndexesOrder extends Object
Object containing the ordered list of log index names.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_INDEX_NAMES

      public static final String JSON_PROPERTY_INDEX_NAMES
      See Also:
  • Constructor Details

    • LogsIndexesOrder

      public LogsIndexesOrder()
    • LogsIndexesOrder

      public LogsIndexesOrder(List<String> indexNames)
  • Method Details

    • indexNames

      public LogsIndexesOrder indexNames(List<String> indexNames)
    • addIndexNamesItem

      public LogsIndexesOrder addIndexNamesItem(String indexNamesItem)
    • getIndexNames

      public List<String> getIndexNames()
      Array of strings identifying by their name(s) the index(es) of your organization. Logs are tested against the query filter of each index one by one, following the order of the array. Logs are eventually stored in the first matching index.
      Returns:
      indexNames
    • setIndexNames

      public void setIndexNames(List<String> indexNames)
    • putAdditionalProperty

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