Class OwnershipHistoryItem

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class OwnershipHistoryItem extends Object
A single ownership inference history entry.
  • Field Details

  • Constructor Details

  • Method Details

    • checksum

      public OwnershipHistoryItem checksum(String checksum)
    • getChecksum

      public String getChecksum()
      A checksum identifying the state of the inference at this point in time.
      Returns:
      checksum
    • setChecksum

      public void setChecksum(String checksum)
    • confidence

      public OwnershipHistoryItem 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 OwnershipHistoryItem createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      public OffsetDateTime getCreatedAt()
      The time this history entry was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • evidenceVersions

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

      public OwnershipHistoryItem 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 OwnershipHistoryItem 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)
    • failedAt

      public OwnershipHistoryItem failedAt(OffsetDateTime failedAt)
    • getFailedAt

      @Nullable public OffsetDateTime getFailedAt()
      The time when this inference failed, if applicable.
      Returns:
      failedAt
    • getFailedAt_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getFailedAt_JsonNullable()
    • setFailedAt_JsonNullable

      public void setFailedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> failedAt)
    • setFailedAt

      public void setFailedAt(OffsetDateTime failedAt)
    • failureReason

      public OwnershipHistoryItem failureReason(String failureReason)
    • getFailureReason

      @Nullable public String getFailureReason()
      The reason why this inference failed, if applicable.
      Returns:
      failureReason
    • getFailureReason_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getFailureReason_JsonNullable()
    • setFailureReason_JsonNullable

      public void setFailureReason_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> failureReason)
    • setFailureReason

      public void setFailureReason(String failureReason)
    • id

      public OwnershipHistoryItem id(Long id)
    • getId

      public Long getId()
      The unique identifier of the history entry.
      Returns:
      id
    • setId

      public void setId(Long id)
    • ownerType

      public OwnershipHistoryItem ownerType(OwnershipOwnerType ownerType)
    • getOwnerType

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

      public void setOwnerType(OwnershipOwnerType ownerType)
    • primaryContactRef

      public OwnershipHistoryItem 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)
    • resourceId

      public OwnershipHistoryItem resourceId(String resourceId)
    • getResourceId

      public String getResourceId()
      The identifier of the resource that the inference applies to.
      Returns:
      resourceId
    • setResourceId

      public void setResourceId(String resourceId)
    • retrySchedule

      public OwnershipHistoryItem retrySchedule(OffsetDateTime retrySchedule)
    • getRetrySchedule

      @Nullable public OffsetDateTime getRetrySchedule()
      The scheduled retry time for a failed inference, if applicable.
      Returns:
      retrySchedule
    • getRetrySchedule_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getRetrySchedule_JsonNullable()
    • setRetrySchedule_JsonNullable

      public void setRetrySchedule_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> retrySchedule)
    • setRetrySchedule

      public void setRetrySchedule(OffsetDateTime retrySchedule)
    • sources

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

      public OwnershipHistoryItem 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)
    • putAdditionalProperty

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