Class DatasetRequest

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DatasetRequest extends Object
Datasets Object Constraints - Tag limit per dataset: - Each restricted dataset supports a maximum of 10 key:value pairs per product.
  • Tag key rules per telemetry type:
  • Only one tag key or attribute may be used to define access within a single telemetry type.
  • The same or different tag key may be used across different telemetry types.

  • Tag value uniqueness:

  • Tag values must be unique within a single dataset.
  • A tag value used in one dataset cannot be reused in another dataset of the same telemetry type.
  • Field Details

  • Constructor Details

  • Method Details

    • attributes

      public DatasetRequest attributes(DatasetAttributesRequest attributes)
    • getAttributes

      public DatasetAttributesRequest getAttributes()
      Dataset metadata and configurations.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(DatasetAttributesRequest attributes)
    • type

      public DatasetRequest type(DatasetType type)
    • getType

      public DatasetType getType()
      Resource type, always set to dataset.
      Returns:
      type
    • setType

      public void setType(DatasetType type)
    • putAdditionalProperty

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