Class DORAIncidentObjectAttributes

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

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

  • Constructor Details

    • DORAIncidentObjectAttributes

      public DORAIncidentObjectAttributes()
  • Method Details

    • customTags

      public DORAIncidentObjectAttributes customTags(List<String> customTags)
    • addCustomTagsItem

      public DORAIncidentObjectAttributes addCustomTagsItem(String customTagsItem)
    • getCustomTags

      @Nullable public List<String> getCustomTags()
      A list of user-defined tags. The tags must follow the key:value pattern. Up to 100 may be added per event.
      Returns:
      customTags
    • getCustomTags_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getCustomTags_JsonNullable()
    • setCustomTags_JsonNullable

      public void setCustomTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> customTags)
    • setCustomTags

      public void setCustomTags(List<String> customTags)
    • env

    • getEnv

      @Nullable public String getEnv()
      Environment name that was impacted by the incident.
      Returns:
      env
    • setEnv

      public void setEnv(String env)
    • finishedAt

      public DORAIncidentObjectAttributes finishedAt(OffsetDateTime finishedAt)
    • getFinishedAt

      @Nullable public OffsetDateTime getFinishedAt()
      The time when the incident finished.
      Returns:
      finishedAt
    • setFinishedAt

      public void setFinishedAt(OffsetDateTime finishedAt)
    • git

    • getGit

      @Nullable public DORAGitInfo getGit()
      Git info for DORA Metrics events.
      Returns:
      git
    • setGit

      public void setGit(DORAGitInfo git)
    • name

    • getName

      @Nullable public String getName()
      Incident name.
      Returns:
      name
    • setName

      public void setName(String name)
    • services

      public DORAIncidentObjectAttributes services(List<String> services)
    • addServicesItem

      public DORAIncidentObjectAttributes addServicesItem(String servicesItem)
    • getServices

      @Nullable public List<String> getServices()
      Service names impacted by the incident.
      Returns:
      services
    • setServices

      public void setServices(List<String> services)
    • severity

      public DORAIncidentObjectAttributes severity(String severity)
    • getSeverity

      @Nullable public String getSeverity()
      Incident severity.
      Returns:
      severity
    • setSeverity

      public void setSeverity(String severity)
    • startedAt

      public DORAIncidentObjectAttributes startedAt(OffsetDateTime startedAt)
    • getStartedAt

      @Nullable public OffsetDateTime getStartedAt()
      The time when the incident started.
      Returns:
      startedAt
    • setStartedAt

      public void setStartedAt(OffsetDateTime startedAt)
    • team

    • getTeam

      @Nullable public String getTeam()
      Name of the team owning the services impacted.
      Returns:
      team
    • setTeam

      public void setTeam(String team)
    • version

      public DORAIncidentObjectAttributes version(String version)
    • getVersion

      @Nullable public String getVersion()
      Version to correlate with APM Deployment Tracking.
      Returns:
      version
    • setVersion

      public void setVersion(String version)
    • putAdditionalProperty

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