Class SLOCorrectionResponseAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SLOCorrectionResponseAttributes extends Object
The attribute object associated with the SLO correction.
  • Field Details

  • Constructor Details

    • SLOCorrectionResponseAttributes

      public SLOCorrectionResponseAttributes()
  • Method Details

    • category

    • getCategory

      @Nullable public SLOCorrectionCategory getCategory()
      Category the SLO correction belongs to.
      Returns:
      category
    • setCategory

      public void setCategory(SLOCorrectionCategory category)
    • createdAt

      public SLOCorrectionResponseAttributes createdAt(Long createdAt)
    • getCreatedAt

      @Nullable public Long getCreatedAt()
      The epoch timestamp of when the correction was created at.
      Returns:
      createdAt
    • getCreatedAt_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getCreatedAt_JsonNullable()
    • setCreatedAt_JsonNullable

      public void setCreatedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> createdAt)
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
    • getCreator

      @Nullable public Creator getCreator()
      Object describing the creator of the shared element.
      Returns:
      creator
    • description

      public SLOCorrectionResponseAttributes description(String description)
    • getDescription

      @Nullable public String getDescription()
      Description of the correction being made.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • duration

      public SLOCorrectionResponseAttributes duration(Long duration)
    • getDuration

      @Nullable public Long getDuration()
      Length of time (in seconds) for a specified rrule recurring SLO correction.
      Returns:
      duration
    • getDuration_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getDuration_JsonNullable()
    • setDuration_JsonNullable

      public void setDuration_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> duration)
    • setDuration

      public void setDuration(Long duration)
    • end

    • getEnd

      @Nullable public Long getEnd()
      Ending time of the correction in epoch seconds.
      Returns:
      end
    • getEnd_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getEnd_JsonNullable()
    • setEnd_JsonNullable

      public void setEnd_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> end)
    • setEnd

      public void setEnd(Long end)
    • modifiedAt

      public SLOCorrectionResponseAttributes modifiedAt(Long modifiedAt)
    • getModifiedAt

      @Nullable public Long getModifiedAt()
      The epoch timestamp of when the correction was modified at.
      Returns:
      modifiedAt
    • getModifiedAt_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getModifiedAt_JsonNullable()
    • setModifiedAt_JsonNullable

      public void setModifiedAt_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> modifiedAt)
    • setModifiedAt

      public void setModifiedAt(Long modifiedAt)
    • modifier

    • getModifier

      @Nullable public SLOCorrectionResponseAttributesModifier getModifier()
      Modifier of the object.
      Returns:
      modifier
    • getModifier_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<SLOCorrectionResponseAttributesModifier> getModifier_JsonNullable()
    • setModifier_JsonNullable

      public void setModifier_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<SLOCorrectionResponseAttributesModifier> modifier)
    • setModifier

      public void setModifier(SLOCorrectionResponseAttributesModifier modifier)
    • rrule

    • getRrule

      @Nullable public String getRrule()
      The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections are FREQ, INTERVAL, COUNT, UNTIL and BYDAY.
      Returns:
      rrule
    • getRrule_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getRrule_JsonNullable()
    • setRrule_JsonNullable

      public void setRrule_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> rrule)
    • setRrule

      public void setRrule(String rrule)
    • sloId

    • getSloId

      @Nullable public String getSloId()
      ID of the single SLO that this correction applies to.
      Returns:
      sloId
    • getSloId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getSloId_JsonNullable()
    • setSloId_JsonNullable

      public void setSloId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> sloId)
    • setSloId

      public void setSloId(String sloId)
    • sloQuery

      public SLOCorrectionResponseAttributes sloQuery(String sloQuery)
    • getSloQuery

      @Nullable public String getSloQuery()
      Query that matches the SLOs this correction applies to.
      Returns:
      sloQuery
    • getSloQuery_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getSloQuery_JsonNullable()
    • setSloQuery_JsonNullable

      public void setSloQuery_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> sloQuery)
    • setSloQuery

      public void setSloQuery(String sloQuery)
    • start

      public SLOCorrectionResponseAttributes start(Long start)
    • getStart

      @Nullable public Long getStart()
      Starting time of the correction in epoch seconds.
      Returns:
      start
    • setStart

      public void setStart(Long start)
    • timezone

      public SLOCorrectionResponseAttributes timezone(String timezone)
    • getTimezone

      @Nullable public String getTimezone()
      The timezone to display in the UI for the correction times (defaults to "UTC").
      Returns:
      timezone
    • setTimezone

      public void setTimezone(String timezone)
    • putAdditionalProperty

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