Class SecurityFindingsAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SecurityFindingsAttributes extends Object
The JSON object containing all attributes of the security finding.
  • Field Details

  • Constructor Details

    • SecurityFindingsAttributes

      public SecurityFindingsAttributes()
  • Method Details

    • attributes

      public SecurityFindingsAttributes attributes(Map<String,Object> attributes)
    • putAttributesItem

      public SecurityFindingsAttributes putAttributesItem(String key, Object attributesItem)
    • getAttributes

      @Nullable public Map<String,Object> getAttributes()
      The custom attributes of the security finding.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(Map<String,Object> attributes)
    • tags

      public SecurityFindingsAttributes tags(List<String> tags)
    • addTagsItem

      public SecurityFindingsAttributes addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      List of tags associated with the security finding.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • timestamp

      public SecurityFindingsAttributes timestamp(Long timestamp)
    • getTimestamp

      @Nullable public Long getTimestamp()
      The Unix timestamp at which the detection changed for the resource. Same value as @detection_changed_at.
      Returns:
      timestamp
    • setTimestamp

      public void setTimestamp(Long timestamp)
    • putAdditionalProperty

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