Class SignalStateUpdateRequest

java.lang.Object
com.datadog.api.client.v1.model.SignalStateUpdateRequest

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SignalStateUpdateRequest extends Object
Attributes describing the change of state for a given state.
  • Field Details

  • Constructor Details

    • SignalStateUpdateRequest

      public SignalStateUpdateRequest()
    • SignalStateUpdateRequest

      public SignalStateUpdateRequest(SignalTriageState state)
  • Method Details

    • archiveComment

      public SignalStateUpdateRequest archiveComment(String archiveComment)
    • getArchiveComment

      @Nullable public String getArchiveComment()
      Optional comment to explain why a signal is being archived.
      Returns:
      archiveComment
    • setArchiveComment

      public void setArchiveComment(String archiveComment)
    • archiveReason

      public SignalStateUpdateRequest archiveReason(SignalArchiveReason archiveReason)
    • getArchiveReason

      @Nullable public SignalArchiveReason getArchiveReason()
      Reason why a signal has been archived.
      Returns:
      archiveReason
    • setArchiveReason

      public void setArchiveReason(SignalArchiveReason archiveReason)
    • state

    • getState

      public SignalTriageState getState()
      The new triage state of the signal.
      Returns:
      state
    • setState

      public void setState(SignalTriageState state)
    • version

      public SignalStateUpdateRequest version(Long version)
    • getVersion

      @Nullable public Long getVersion()
      Version of the updated signal. If server side version is higher, update will be rejected.
      Returns:
      version
    • setVersion

      public void setVersion(Long version)
    • putAdditionalProperty

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