Class LogsPipeline

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LogsPipeline extends Object
Pipelines and processors operate on incoming logs, parsing and transforming them into structured attributes for easier querying.

Note: These endpoints are only available for admin users. Make sure to use an application key created by an admin.

  • Field Details

  • Constructor Details

    • LogsPipeline

      public LogsPipeline()
    • LogsPipeline

      public LogsPipeline(String name)
  • Method Details

    • description

      public LogsPipeline description(String description)
    • getDescription

      @Nullable public String getDescription()
      A description of the pipeline.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • filter

      public LogsPipeline filter(LogsFilter filter)
    • getFilter

      @Nullable public LogsFilter getFilter()
      Filter for logs.
      Returns:
      filter
    • setFilter

      public void setFilter(LogsFilter filter)
    • getId

      @Nullable public String getId()
      ID of the pipeline.
      Returns:
      id
    • isEnabled

      public LogsPipeline isEnabled(Boolean isEnabled)
    • getIsEnabled

      @Nullable public Boolean getIsEnabled()
      Whether or not the pipeline is enabled.
      Returns:
      isEnabled
    • setIsEnabled

      public void setIsEnabled(Boolean isEnabled)
    • getIsReadOnly

      @Nullable public Boolean getIsReadOnly()
      Whether or not the pipeline can be edited.
      Returns:
      isReadOnly
    • name

      public LogsPipeline name(String name)
    • getName

      public String getName()
      Name of the pipeline.
      Returns:
      name
    • setName

      public void setName(String name)
    • processors

      public LogsPipeline processors(List<LogsProcessor> processors)
    • addProcessorsItem

      public LogsPipeline addProcessorsItem(LogsProcessor processorsItem)
    • getProcessors

      @Nullable public List<LogsProcessor> getProcessors()
      Ordered list of processors in this pipeline.
      Returns:
      processors
    • setProcessors

      public void setProcessors(List<LogsProcessor> processors)
    • tags

      public LogsPipeline tags(List<String> tags)
    • addTagsItem

      public LogsPipeline addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      A list of tags associated with the pipeline.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • getType

      @Nullable public String getType()
      Type of pipeline.
      Returns:
      type
    • putAdditionalProperty

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