Class MuteFindingsMuteAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MuteFindingsMuteAttributes extends Object
Mute properties to apply to the findings.
  • Field Details

  • Constructor Details

    • MuteFindingsMuteAttributes

      public MuteFindingsMuteAttributes()
    • MuteFindingsMuteAttributes

      public MuteFindingsMuteAttributes(Boolean isMuted, MuteFindingsReason reason)
  • Method Details

    • description

      public MuteFindingsMuteAttributes description(String description)
    • getDescription

      @Nullable public String getDescription()
      Additional information about the reason why the findings are muted or unmuted. This field has a limit of 280 characters.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • expireAt

      public MuteFindingsMuteAttributes expireAt(Long expireAt)
    • getExpireAt

      @Nullable public Long getExpireAt()
      The expiration date of the mute action (Unix ms). It must be set to a value greater than the current timestamp. If this field is not provided, the findings remain muted indefinitely.
      Returns:
      expireAt
    • setExpireAt

      public void setExpireAt(Long expireAt)
    • isMuted

      public MuteFindingsMuteAttributes isMuted(Boolean isMuted)
    • getIsMuted

      public Boolean getIsMuted()
      Whether the findings should be muted or unmuted.
      Returns:
      isMuted
    • setIsMuted

      public void setIsMuted(Boolean isMuted)
    • reason

    • getReason

      public MuteFindingsReason getReason()
      The reason why the findings are muted or unmuted.
      Returns:
      reason
    • setReason

      public void setReason(MuteFindingsReason reason)
    • putAdditionalProperty

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