Class SecurityFindingsData

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SecurityFindingsData extends Object
A single security finding.
  • Field Details

  • Constructor Details

    • SecurityFindingsData

      public SecurityFindingsData()
  • Method Details

    • attributes

      public SecurityFindingsData attributes(SecurityFindingsAttributes attributes)
    • getAttributes

      @Nullable public SecurityFindingsAttributes getAttributes()
      The JSON object containing all attributes of the security finding.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(SecurityFindingsAttributes attributes)
    • id

      public SecurityFindingsData id(String id)
    • getId

      @Nullable public String getId()
      The unique ID of the security finding.
      Returns:
      id
    • setId

      public void setId(String id)
    • type

    • getType

      @Nullable public SecurityFindingsDataType getType()
      The type of the security finding resource.
      Returns:
      type
    • setType

      public void setType(SecurityFindingsDataType type)
    • putAdditionalProperty

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