Class DORAFailureRequestAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DORAFailureRequestAttributes extends Object
Attributes to create a DORA incident event.
  • Field Details

  • Constructor Details

    • DORAFailureRequestAttributes

      public DORAFailureRequestAttributes()
    • DORAFailureRequestAttributes

      public DORAFailureRequestAttributes(Long startedAt)
  • Method Details

    • customTags

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

      public DORAFailureRequestAttributes 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 DORAFailureRequestAttributes finishedAt(Long finishedAt)
    • getFinishedAt

      @Nullable public Long getFinishedAt()
      Unix timestamp when the incident finished. It must be in nanoseconds, milliseconds, or seconds.
      Returns:
      finishedAt
    • setFinishedAt

      public void setFinishedAt(Long finishedAt)
    • git

    • getGit

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

      public void setGit(DORAGitInfo git)
    • id

    • getId

      @Nullable public String getId()
      Incident ID. Must be 16-128 characters and contain only alphanumeric characters, hyphens, underscores, periods, and colons (a-z, A-Z, 0-9, -, _, ., :).
      Returns:
      id
    • setId

      public void setId(String id)
    • name

    • getName

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

      public void setName(String name)
    • services

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

      public DORAFailureRequestAttributes addServicesItem(String servicesItem)
    • getServices

      @Nullable public List<String> getServices()
      Service names impacted by the incident. If possible, use names registered in the Service Catalog. Required when the team field is not provided.
      Returns:
      services
    • setServices

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

      public DORAFailureRequestAttributes severity(String severity)
    • getSeverity

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

      public void setSeverity(String severity)
    • startedAt

      public DORAFailureRequestAttributes startedAt(Long startedAt)
    • getStartedAt

      public Long getStartedAt()
      Unix timestamp when the incident started. It must be in nanoseconds, milliseconds, or seconds.
      Returns:
      startedAt
    • setStartedAt

      public void setStartedAt(Long startedAt)
    • team

    • getTeam

      @Nullable public String getTeam()
      Name of the team owning the services impacted. If possible, use team handles registered in Datadog. Required when the services field is not provided.
      Returns:
      team
    • setTeam

      public void setTeam(String team)
    • version

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