Class DatasetResponse

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DatasetResponse 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

    • DatasetResponse

      public DatasetResponse()
  • Method Details

    • attributes

      public DatasetResponse attributes(DatasetAttributesResponse attributes)
    • getAttributes

      @Nullable public DatasetAttributesResponse getAttributes()
      Dataset metadata and configuration(s).
      Returns:
      attributes
    • setAttributes

      public void setAttributes(DatasetAttributesResponse attributes)
    • id

      public DatasetResponse id(String id)
    • getId

      @Nullable public String getId()
      Unique identifier for the dataset.
      Returns:
      id
    • setId

      public void setId(String id)
    • type

      public DatasetResponse type(DatasetType type)
    • getType

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

      public void setType(DatasetType type)
    • putAdditionalProperty

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