Class FindingAttributes

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

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

  • Constructor Details

    • FindingAttributes

      public FindingAttributes()
  • Method Details

    • datadogLink

      public FindingAttributes datadogLink(String datadogLink)
    • getDatadogLink

      @Nullable public String getDatadogLink()
      The Datadog relative link for this finding.
      Returns:
      datadogLink
    • setDatadogLink

      public void setDatadogLink(String datadogLink)
    • description

      public FindingAttributes description(String description)
    • getDescription

      @Nullable public String getDescription()
      The description and remediation steps for this finding.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • evaluation

      public FindingAttributes evaluation(FindingEvaluation evaluation)
    • getEvaluation

      @Nullable public FindingEvaluation getEvaluation()
      The evaluation of the finding.
      Returns:
      evaluation
    • setEvaluation

      public void setEvaluation(FindingEvaluation evaluation)
    • evaluationChangedAt

      public FindingAttributes evaluationChangedAt(Long evaluationChangedAt)
    • getEvaluationChangedAt

      @Nullable public Long getEvaluationChangedAt()
      The date on which the evaluation for this finding changed (Unix ms). minimum: 1
      Returns:
      evaluationChangedAt
    • setEvaluationChangedAt

      public void setEvaluationChangedAt(Long evaluationChangedAt)
    • externalId

      public FindingAttributes externalId(String externalId)
    • getExternalId

      @Nullable public String getExternalId()
      The cloud-based ID for the resource related to the finding.
      Returns:
      externalId
    • setExternalId

      public void setExternalId(String externalId)
    • mute

      public FindingAttributes mute(FindingMute mute)
    • getMute

      @Nullable public FindingMute getMute()
      Information about the mute status of this finding.
      Returns:
      mute
    • setMute

      public void setMute(FindingMute mute)
    • resource

      public FindingAttributes resource(String resource)
    • getResource

      @Nullable public String getResource()
      The resource name of this finding.
      Returns:
      resource
    • setResource

      public void setResource(String resource)
    • resourceDiscoveryDate

      public FindingAttributes resourceDiscoveryDate(Long resourceDiscoveryDate)
    • getResourceDiscoveryDate

      @Nullable public Long getResourceDiscoveryDate()
      The date on which the resource was discovered (Unix ms). minimum: 1
      Returns:
      resourceDiscoveryDate
    • setResourceDiscoveryDate

      public void setResourceDiscoveryDate(Long resourceDiscoveryDate)
    • resourceType

      public FindingAttributes resourceType(String resourceType)
    • getResourceType

      @Nullable public String getResourceType()
      The resource type of this finding.
      Returns:
      resourceType
    • setResourceType

      public void setResourceType(String resourceType)
    • rule

      public FindingAttributes rule(FindingRule rule)
    • getRule

      @Nullable public FindingRule getRule()
      The rule that triggered this finding.
      Returns:
      rule
    • setRule

      public void setRule(FindingRule rule)
    • status

      public FindingAttributes status(FindingStatus status)
    • getStatus

      @Nullable public FindingStatus getStatus()
      The status of the finding.
      Returns:
      status
    • setStatus

      public void setStatus(FindingStatus status)
    • tags

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

      public FindingAttributes addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      The tags associated with this finding.
      Returns:
      tags
    • setTags

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

      public FindingAttributes vulnerabilityType(FindingVulnerabilityType vulnerabilityType)
    • getVulnerabilityType

      @Nullable public FindingVulnerabilityType getVulnerabilityType()
      The vulnerability type of the finding.
      Returns:
      vulnerabilityType
    • setVulnerabilityType

      public void setVulnerabilityType(FindingVulnerabilityType vulnerabilityType)
    • putAdditionalProperty

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