Class IncidentTypeConfiguration

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IncidentTypeConfiguration extends Object
The incident-type-scoped behavior settings. All fields are optional on update. Any field omitted from a PATCH request keeps its current value. This object is read-only on the incident type resource itself and is only mutated through the update (PATCH) endpoint.
  • Field Details

  • Constructor Details

    • IncidentTypeConfiguration

      public IncidentTypeConfiguration()
  • Method Details

    • allowIncidentDeletion

      public IncidentTypeConfiguration allowIncidentDeletion(Boolean allowIncidentDeletion)
    • getAllowIncidentDeletion

      @Nullable public Boolean getAllowIncidentDeletion()
      Whether incidents of this type can be deleted.
      Returns:
      allowIncidentDeletion
    • setAllowIncidentDeletion

      public void setAllowIncidentDeletion(Boolean allowIncidentDeletion)
    • allowWorkflows

      public IncidentTypeConfiguration allowWorkflows(Boolean allowWorkflows)
    • getAllowWorkflows

      @Nullable public Boolean getAllowWorkflows()
      Whether automation workflows can be triggered for incidents of this type.
      Returns:
      allowWorkflows
    • setAllowWorkflows

      public void setAllowWorkflows(Boolean allowWorkflows)
    • createMessage

      public IncidentTypeConfiguration createMessage(String createMessage)
    • getCreateMessage

      @Nullable public String getCreateMessage()
      An optional message shown to users when they declare an incident of this type.
      Returns:
      createMessage
    • setCreateMessage

      public void setCreateMessage(String createMessage)
    • editableTimestamps

      public IncidentTypeConfiguration editableTimestamps(Boolean editableTimestamps)
    • getEditableTimestamps

      @Nullable public Boolean getEditableTimestamps()
      Whether responders can edit incident timestamps for incidents of this type.
      Returns:
      editableTimestamps
    • setEditableTimestamps

      public void setEditableTimestamps(Boolean editableTimestamps)
    • privateIncidents

      public IncidentTypeConfiguration privateIncidents(Boolean privateIncidents)
    • getPrivateIncidents

      @Nullable public Boolean getPrivateIncidents()
      Whether responders can create private incidents of this type. This is an opt-in setting, distinct from private_incidents_by_default, which controls whether incidents are created private automatically.
      Returns:
      privateIncidents
    • setPrivateIncidents

      public void setPrivateIncidents(Boolean privateIncidents)
    • privateIncidentsByDefault

      public IncidentTypeConfiguration privateIncidentsByDefault(Boolean privateIncidentsByDefault)
    • getPrivateIncidentsByDefault

      @Nullable public Boolean getPrivateIncidentsByDefault()
      Whether incidents of this type are created as private by default.
      Returns:
      privateIncidentsByDefault
    • setPrivateIncidentsByDefault

      public void setPrivateIncidentsByDefault(Boolean privateIncidentsByDefault)
    • slugSource

      public IncidentTypeConfiguration slugSource(IncidentTypeSlugSource slugSource)
    • getSlugSource

      @Nullable public IncidentTypeSlugSource getSlugSource()
      When set to servicenow, incidents will display the ServiceNow record ID instead of the public ID. If no ServiceNow integration exists, the public ID will be displayed.
      Returns:
      slugSource
    • setSlugSource

      public void setSlugSource(IncidentTypeSlugSource slugSource)
    • testIncidents

      public IncidentTypeConfiguration testIncidents(Boolean testIncidents)
    • getTestIncidents

      @Nullable public Boolean getTestIncidents()
      Whether incidents of this type are treated as test incidents.
      Returns:
      testIncidents
    • setTestIncidents

      public void setTestIncidents(Boolean testIncidents)
    • putAdditionalProperty

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