Class DetailedFindingAttributes

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

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

  • Constructor Details

    • DetailedFindingAttributes

      public DetailedFindingAttributes()
  • Method Details

    • evaluation

      public DetailedFindingAttributes evaluation(FindingEvaluation evaluation)
    • getEvaluation

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

      public void setEvaluation(FindingEvaluation evaluation)
    • evaluationChangedAt

      public DetailedFindingAttributes 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)
    • message

      public DetailedFindingAttributes message(String message)
    • getMessage

      @Nullable public String getMessage()
      The remediation message for this finding.
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • mute

    • getMute

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

      public void setMute(FindingMute mute)
    • resource

      public DetailedFindingAttributes resource(String resource)
    • getResource

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

      public void setResource(String resource)
    • resourceConfiguration

      public DetailedFindingAttributes resourceConfiguration(Object resourceConfiguration)
    • getResourceConfiguration

      @Nullable public Object getResourceConfiguration()
      The resource configuration for this finding.
      Returns:
      resourceConfiguration
    • setResourceConfiguration

      public void setResourceConfiguration(Object resourceConfiguration)
    • resourceDiscoveryDate

      public DetailedFindingAttributes 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 DetailedFindingAttributes resourceType(String resourceType)
    • getResourceType

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

      public void setResourceType(String resourceType)
    • rule

    • getRule

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

      public void setRule(FindingRule rule)
    • status

      public DetailedFindingAttributes status(FindingStatus status)
    • getStatus

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

      public void setStatus(FindingStatus status)
    • tags

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

      public DetailedFindingAttributes addTagsItem(String tagsItem)
    • getTags

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

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

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