Class MaintenanceTemplateDataAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class MaintenanceTemplateDataAttributes extends Object
The attributes of a maintenance template.
  • Field Details

  • Constructor Details

    • MaintenanceTemplateDataAttributes

      public MaintenanceTemplateDataAttributes()
  • Method Details

    • completedDescription

      public MaintenanceTemplateDataAttributes completedDescription(String completedDescription)
    • getCompletedDescription

      @Nullable public String getCompletedDescription()
      The description shown when a maintenance created from this template is completed.
      Returns:
      completedDescription
    • setCompletedDescription

      public void setCompletedDescription(String completedDescription)
    • componentIds

      public MaintenanceTemplateDataAttributes componentIds(List<String> componentIds)
    • addComponentIdsItem

      public MaintenanceTemplateDataAttributes addComponentIdsItem(String componentIdsItem)
    • getComponentIds

      @Nullable public List<String> getComponentIds()
      The IDs of the components affected by a maintenance created from this template.
      Returns:
      componentIds
    • setComponentIds

      public void setComponentIds(List<String> componentIds)
    • createdAt

      public MaintenanceTemplateDataAttributes createdAt(OffsetDateTime createdAt)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Timestamp of when the maintenance template was created.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(OffsetDateTime createdAt)
    • inProgressDescription

      public MaintenanceTemplateDataAttributes inProgressDescription(String inProgressDescription)
    • getInProgressDescription

      @Nullable public String getInProgressDescription()
      The description shown while a maintenance created from this template is in progress.
      Returns:
      inProgressDescription
    • setInProgressDescription

      public void setInProgressDescription(String inProgressDescription)
    • maintenanceTitle

      public MaintenanceTemplateDataAttributes maintenanceTitle(String maintenanceTitle)
    • getMaintenanceTitle

      @Nullable public String getMaintenanceTitle()
      The title used for a maintenance created from this template.
      Returns:
      maintenanceTitle
    • setMaintenanceTitle

      public void setMaintenanceTitle(String maintenanceTitle)
    • modifiedAt

      public MaintenanceTemplateDataAttributes modifiedAt(OffsetDateTime modifiedAt)
    • getModifiedAt

      @Nullable public OffsetDateTime getModifiedAt()
      Timestamp of when the maintenance template was last modified.
      Returns:
      modifiedAt
    • setModifiedAt

      public void setModifiedAt(OffsetDateTime modifiedAt)
    • name

    • getName

      @Nullable public String getName()
      The name of the maintenance template.
      Returns:
      name
    • setName

      public void setName(String name)
    • scheduledDescription

      public MaintenanceTemplateDataAttributes scheduledDescription(String scheduledDescription)
    • getScheduledDescription

      @Nullable public String getScheduledDescription()
      The description shown when a maintenance created from this template is scheduled.
      Returns:
      scheduledDescription
    • setScheduledDescription

      public void setScheduledDescription(String scheduledDescription)
    • putAdditionalProperty

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