Class ProcessScalarQuery

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ProcessScalarQuery extends Object
A query for host-level process metrics such as CPU and memory usage.
  • Field Details

  • Constructor Details

    • ProcessScalarQuery

      public ProcessScalarQuery()
    • ProcessScalarQuery

      public ProcessScalarQuery(ProcessDataSource dataSource, String metric, String name)
  • Method Details

    • aggregator

      public ProcessScalarQuery aggregator(MetricsAggregator aggregator)
    • getAggregator

      @Nullable public MetricsAggregator getAggregator()
      The type of aggregation that can be performed on metrics-based queries.
      Returns:
      aggregator
    • setAggregator

      public void setAggregator(MetricsAggregator aggregator)
    • crossOrgUuids

      public ProcessScalarQuery crossOrgUuids(List<String> crossOrgUuids)
    • addCrossOrgUuidsItem

      public ProcessScalarQuery addCrossOrgUuidsItem(String crossOrgUuidsItem)
    • getCrossOrgUuids

      @Nullable public List<String> getCrossOrgUuids()
      Organization UUIDs to query when using cross-organization visibility. Limited to one organization UUID.
      Returns:
      crossOrgUuids
    • setCrossOrgUuids

      public void setCrossOrgUuids(List<String> crossOrgUuids)
    • dataSource

      public ProcessScalarQuery dataSource(ProcessDataSource dataSource)
    • getDataSource

      public ProcessDataSource getDataSource()
      A data source for process-level infrastructure metrics.
      Returns:
      dataSource
    • setDataSource

      public void setDataSource(ProcessDataSource dataSource)
    • isNormalizedCpu

      public ProcessScalarQuery isNormalizedCpu(Boolean isNormalizedCpu)
    • getIsNormalizedCpu

      @Nullable public Boolean getIsNormalizedCpu()
      Whether CPU metrics should be normalized by core count.
      Returns:
      isNormalizedCpu
    • setIsNormalizedCpu

      public void setIsNormalizedCpu(Boolean isNormalizedCpu)
    • limit

      public ProcessScalarQuery limit(Long limit)
    • getLimit

      @Nullable public Long getLimit()
      Maximum number of results to return.
      Returns:
      limit
    • setLimit

      public void setLimit(Long limit)
    • metric

      public ProcessScalarQuery metric(String metric)
    • getMetric

      public String getMetric()
      The process metric to query.
      Returns:
      metric
    • setMetric

      public void setMetric(String metric)
    • name

      public ProcessScalarQuery name(String name)
    • getName

      public String getName()
      The variable name for use in formulas.
      Returns:
      name
    • setName

      public void setName(String name)
    • sort

      public ProcessScalarQuery sort(QuerySortOrder sort)
    • getSort

      @Nullable public QuerySortOrder getSort()
      Direction of sort.
      Returns:
      sort
    • setSort

      public void setSort(QuerySortOrder sort)
    • tagFilters

      public ProcessScalarQuery tagFilters(List<String> tagFilters)
    • addTagFiltersItem

      public ProcessScalarQuery addTagFiltersItem(String tagFiltersItem)
    • getTagFilters

      @Nullable public List<String> getTagFilters()
      Tag filters to narrow down processes.
      Returns:
      tagFilters
    • setTagFilters

      public void setTagFilters(List<String> tagFilters)
    • textFilter

      public ProcessScalarQuery textFilter(String textFilter)
    • getTextFilter

      @Nullable public String getTextFilter()
      A full-text search filter to match process names or commands.
      Returns:
      textFilter
    • setTextFilter

      public void setTextFilter(String textFilter)
    • putAdditionalProperty

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