Class WorkflowListItemAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WorkflowListItemAttributes extends Object
Attributes of a workflow returned in a list response.
  • Field Details

  • Constructor Details

    • WorkflowListItemAttributes

      public WorkflowListItemAttributes()
    • WorkflowListItemAttributes

      public WorkflowListItemAttributes(String name)
  • Method Details

    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      When the workflow was created.
      Returns:
      createdAt
    • description

      public WorkflowListItemAttributes description(String description)
    • getDescription

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

      public void setDescription(String description)
    • name

      public WorkflowListItemAttributes name(String name)
    • getName

      public String getName()
      Name of the workflow.
      Returns:
      name
    • setName

      public void setName(String name)
    • published

      public WorkflowListItemAttributes published(Boolean published)
    • getPublished

      @Nullable public Boolean getPublished()
      Whether the workflow is published. Unpublished workflows can only be run manually. Automatic triggers such as Schedule do not fire until the workflow is published.
      Returns:
      published
    • setPublished

      public void setPublished(Boolean published)
    • runAsUserMode

      public WorkflowListItemAttributes runAsUserMode(WorkflowRunAsUserMode runAsUserMode)
    • getRunAsUserMode

      @Nullable public WorkflowRunAsUserMode getRunAsUserMode()
      The effective type of identity used to run the workflow.
      Returns:
      runAsUserMode
    • setRunAsUserMode

      public void setRunAsUserMode(WorkflowRunAsUserMode runAsUserMode)
    • sensitivePrivileges

      public WorkflowListItemAttributes sensitivePrivileges(Boolean sensitivePrivileges)
    • getSensitivePrivileges

      @Nullable public Boolean getSensitivePrivileges()
      Whether the workflow requires sensitive privileges to run. Only the workflow owner can update this field. This allows it to run actions that use Execution Policies.
      Returns:
      sensitivePrivileges
    • setSensitivePrivileges

      public void setSensitivePrivileges(Boolean sensitivePrivileges)
    • spec

      public WorkflowListItemAttributes spec(Spec spec)
    • getSpec

      @Nullable public Spec getSpec()
      A complete Workflow Automation definition, including its triggers, steps, and connections.
      Returns:
      spec
    • setSpec

      public void setSpec(Spec spec)
    • tags

      public WorkflowListItemAttributes tags(List<String> tags)
    • addTagsItem

      public WorkflowListItemAttributes addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      Tags of the workflow.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • getUpdatedAt

      @Nullable public OffsetDateTime getUpdatedAt()
      When the workflow was last updated.
      Returns:
      updatedAt
    • putAdditionalProperty

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