Class WorkflowDataUpdateAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class WorkflowDataUpdateAttributes extends Object
The definition of WorkflowDataUpdateAttributes object.
  • Field Details

  • Constructor Details

    • WorkflowDataUpdateAttributes

      public WorkflowDataUpdateAttributes()
  • Method Details

    • getCreatedAt

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

      public WorkflowDataUpdateAttributes description(String description)
    • getDescription

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

      public void setDescription(String description)
    • name

    • getName

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

      public void setName(String name)
    • published

      public WorkflowDataUpdateAttributes published(Boolean published)
    • getPublished

      @Nullable public Boolean getPublished()
      Set the workflow to published or unpublished. Workflows in an unpublished state will only be executable via manual runs. Automatic triggers such as Schedule will not execute the workflow until it is published.
      Returns:
      published
    • setPublished

      public void setPublished(Boolean published)
    • runAs

    • getRunAs

      @Nullable public WorkflowRunAs getRunAs()
      Identity used to run the workflow.
      Returns:
      runAs
    • setRunAs

      public void setRunAs(WorkflowRunAs runAs)
    • runAsUserMode

      public WorkflowDataUpdateAttributes 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 WorkflowDataUpdateAttributes 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 WorkflowDataUpdateAttributes 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

    • addTagsItem

      public WorkflowDataUpdateAttributes 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
    • webhookSecret

      public WorkflowDataUpdateAttributes webhookSecret(String webhookSecret)
    • getWebhookSecret

      @Nullable public String getWebhookSecret()
      If a Webhook trigger is defined on this workflow, a webhookSecret is required and should be provided here.
      Returns:
      webhookSecret
    • setWebhookSecret

      public void setWebhookSecret(String webhookSecret)
    • putAdditionalProperty

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