Class OwnershipInferenceItem

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OwnershipInferenceItem extends Object
A single ownership inference, scoped to a specific owner type.
  • Field Details

  • Constructor Details

  • Method Details

    • checksum

      public OwnershipInferenceItem checksum(String checksum)
    • getChecksum

      public String getChecksum()
      A checksum that uniquely identifies the current state of the inference. Required when submitting feedback.
      Returns:
      checksum
    • setChecksum

      public void setChecksum(String checksum)
    • confidence

      public OwnershipInferenceItem confidence(String confidence)
    • getConfidence

      public String getConfidence()
      The confidence score of the inference, expressed as a numeric string with up to four decimal places.
      Returns:
      confidence
    • setConfidence

      public void setConfidence(String confidence)
    • createdAt

      public OwnershipInferenceItem createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      public OffsetDateTime getCreatedAt()
      The time when the inference was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • evidenceVersions

      public OwnershipInferenceItem evidenceVersions(List<Map<String,Object>> evidenceVersions)
    • addEvidenceVersionsItem

      public OwnershipInferenceItem addEvidenceVersionsItem(Map<String,Object> evidenceVersionsItem)
    • getEvidenceVersions

      @Nullable public List<Map<String,Object>> getEvidenceVersions()
      The list of evidence versions associated with an inference.
      Returns:
      evidenceVersions
    • setEvidenceVersions

      public void setEvidenceVersions(List<Map<String,Object>> evidenceVersions)
    • explanation

      public OwnershipInferenceItem explanation(String explanation)
    • getExplanation

      public String getExplanation()
      A human-readable explanation of how the inference was produced.
      Returns:
      explanation
    • setExplanation

      public void setExplanation(String explanation)
    • id

    • getId

      public String getId()
      The identifier of the inference, formatted as resource_id:owner_type.
      Returns:
      id
    • setId

      public void setId(String id)
    • ownerType

      public OwnershipInferenceItem ownerType(OwnershipOwnerType ownerType)
    • getOwnerType

      public OwnershipOwnerType getOwnerType()
      The owner type for an ownership inference.
      Returns:
      ownerType
    • setOwnerType

      public void setOwnerType(OwnershipOwnerType ownerType)
    • primaryContactRef

      public OwnershipInferenceItem primaryContactRef(String primaryContactRef)
    • getPrimaryContactRef

      @Nullable public String getPrimaryContactRef()
      The primary contact reference for the inferred owner, formatted as ref:handle/<owner_handle>.
      Returns:
      primaryContactRef
    • getPrimaryContactRef_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getPrimaryContactRef_JsonNullable()
    • setPrimaryContactRef_JsonNullable

      public void setPrimaryContactRef_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> primaryContactRef)
    • setPrimaryContactRef

      public void setPrimaryContactRef(String primaryContactRef)
    • sources

      public OwnershipInferenceItem sources(List<Map<String,Object>> sources)
    • addSourcesItem

      public OwnershipInferenceItem addSourcesItem(Map<String,Object> sourcesItem)
    • getSources

      public List<Map<String,Object>> getSources()
      The list of sources backing an ownership inference. Empty when the inference status is not whitelisted to expose sources.
      Returns:
      sources
    • setSources

      public void setSources(List<Map<String,Object>> sources)
    • status

    • getStatus

      public OwnershipInferenceStatus getStatus()
      The lifecycle status of an ownership inference.
      Returns:
      status
    • setStatus

      public void setStatus(OwnershipInferenceStatus status)
    • updatedAt

      public OwnershipInferenceItem updatedAt(OffsetDateTime updatedAt)
    • getUpdatedAt

      public OffsetDateTime getUpdatedAt()
      The time when the inference was last updated.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(OffsetDateTime updatedAt)
    • putAdditionalProperty

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