Class SecurityMonitoringDatasetAttributesRequest

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SecurityMonitoringDatasetAttributesRequest extends Object
The attributes of a dataset create or update request.
  • Field Details

  • Constructor Details

    • SecurityMonitoringDatasetAttributesRequest

      public SecurityMonitoringDatasetAttributesRequest()
    • SecurityMonitoringDatasetAttributesRequest

      public SecurityMonitoringDatasetAttributesRequest(SecurityMonitoringDatasetDefinition definition)
  • Method Details

    • definition

    • getDefinition

      public SecurityMonitoringDatasetDefinition getDefinition()
      The definition of the dataset. The shape depends on the value of data_source. Use reference_table or managed_resource for a referential dataset, or one of the event platform sources (for example logs, audit, events , spans, rum) for an event platform dataset.
      Returns:
      definition
    • setDefinition

      public void setDefinition(SecurityMonitoringDatasetDefinition definition)
    • description

      public SecurityMonitoringDatasetAttributesRequest description(String description)
    • getDescription

      @Nullable public String getDescription()
      The description of the dataset. Maximum 255 characters.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • version

    • getVersion

      @Nullable public Long getVersion()
      The expected current version of the dataset for optimistic concurrency control on updates. If the dataset's current version does not match, the request is rejected with a 409 Conflict.
      Returns:
      version
    • setVersion

      public void setVersion(Long version)
    • putAdditionalProperty

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