Class SecurityMonitoringDatasetTimeWindow

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SecurityMonitoringDatasetTimeWindow extends Object
An optional time window that overrides the default query time range.
  • Field Details

  • Constructor Details

    • SecurityMonitoringDatasetTimeWindow

      public SecurityMonitoringDatasetTimeWindow()
  • Method Details

    • from

    • getFrom

      @Nullable public Long getFrom()
      Inclusive start of the time window, in milliseconds since the Unix epoch.
      Returns:
      from
    • setFrom

      public void setFrom(Long from)
    • to

    • getTo

      @Nullable public Long getTo()
      Exclusive end of the time window, in milliseconds since the Unix epoch.
      Returns:
      to
    • setTo

      public void setTo(Long to)
    • putAdditionalProperty

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