Class PatchMaintenanceTemplateRequestDataAttributes

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

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

  • Constructor Details

    • PatchMaintenanceTemplateRequestDataAttributes

      public PatchMaintenanceTemplateRequestDataAttributes()
  • Method Details

    • completedDescription

      public PatchMaintenanceTemplateRequestDataAttributes 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 PatchMaintenanceTemplateRequestDataAttributes componentIds(List<String> componentIds)
    • addComponentIdsItem

      public PatchMaintenanceTemplateRequestDataAttributes 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)
    • inProgressDescription

      public PatchMaintenanceTemplateRequestDataAttributes 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 PatchMaintenanceTemplateRequestDataAttributes 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)
    • name

    • getName

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

      public void setName(String name)
    • scheduledDescription

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