Class CIAppPipelineEventStage

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CIAppPipelineEventStage extends Object
Details of a CI stage.
  • Field Details

  • Constructor Details

  • Method Details

    • dependencies

      public CIAppPipelineEventStage dependencies(List<String> dependencies)
    • addDependenciesItem

      public CIAppPipelineEventStage addDependenciesItem(String dependenciesItem)
    • getDependencies

      @Nullable public List<String> getDependencies()
      A list of stage IDs that this stage depends on.
      Returns:
      dependencies
    • getDependencies_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getDependencies_JsonNullable()
    • setDependencies_JsonNullable

      public void setDependencies_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> dependencies)
    • setDependencies

      public void setDependencies(List<String> dependencies)
    • end

    • getEnd

      public OffsetDateTime getEnd()
      Time when the stage run finished. The time format must be RFC3339.
      Returns:
      end
    • setEnd

      public void setEnd(OffsetDateTime end)
    • error

      public CIAppPipelineEventStage error(CIAppCIError error)
    • getError

      @Nullable public CIAppCIError getError()
      Contains information of the CI error.
      Returns:
      error
    • getError_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<CIAppCIError> getError_JsonNullable()
    • setError_JsonNullable

      public void setError_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppCIError> error)
    • setError

      public void setError(CIAppCIError error)
    • git

    • getGit

      @Nullable public CIAppGitInfo getGit()
      If pipelines are triggered due to actions to a Git repository, then all payloads must contain this. Note that either tag or branch has to be provided, but not both.
      Returns:
      git
    • getGit_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<CIAppGitInfo> getGit_JsonNullable()
    • setGit_JsonNullable

      public void setGit_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppGitInfo> git)
    • setGit

      public void setGit(CIAppGitInfo git)
    • id

    • getId

      public String getId()
      UUID for the stage. It has to be unique at least in the pipeline scope.
      Returns:
      id
    • setId

      public void setId(String id)
    • level

    • getLevel

      public CIAppPipelineEventStageLevel getLevel()
      Used to distinguish between pipelines, stages, jobs and steps.
      Returns:
      level
    • setLevel

      public void setLevel(CIAppPipelineEventStageLevel level)
    • metrics

      public CIAppPipelineEventStage metrics(List<String> metrics)
    • addMetricsItem

      public CIAppPipelineEventStage addMetricsItem(String metricsItem)
    • getMetrics

      @Nullable public List<String> getMetrics()
      A list of user-defined metrics. The metrics must follow the key:value pattern and the value must be numeric.
      Returns:
      metrics
    • getMetrics_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getMetrics_JsonNullable()
    • setMetrics_JsonNullable

      public void setMetrics_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> metrics)
    • setMetrics

      public void setMetrics(List<String> metrics)
    • name

      public CIAppPipelineEventStage name(String name)
    • getName

      public String getName()
      The name for the stage.
      Returns:
      name
    • setName

      public void setName(String name)
    • node

    • getNode

      @Nullable public CIAppHostInfo getNode()
      Contains information of the host running the pipeline, stage, job, or step.
      Returns:
      node
    • getNode_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<CIAppHostInfo> getNode_JsonNullable()
    • setNode_JsonNullable

      public void setNode_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<CIAppHostInfo> node)
    • setNode

      public void setNode(CIAppHostInfo node)
    • parameters

      public CIAppPipelineEventStage parameters(Map<String,String> parameters)
    • putParametersItem

      public CIAppPipelineEventStage putParametersItem(String key, String parametersItem)
    • getParameters

      @Nullable public Map<String,String> getParameters()
      A map of key-value parameters or environment variables that were defined for the pipeline.
      Returns:
      parameters
    • getParameters_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Map<String,String>> getParameters_JsonNullable()
    • setParameters_JsonNullable

      public void setParameters_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,String>> parameters)
    • setParameters

      public void setParameters(Map<String,String> parameters)
    • pipelineName

      public CIAppPipelineEventStage pipelineName(String pipelineName)
    • getPipelineName

      public String getPipelineName()
      The parent pipeline name.
      Returns:
      pipelineName
    • setPipelineName

      public void setPipelineName(String pipelineName)
    • pipelineUniqueId

      public CIAppPipelineEventStage pipelineUniqueId(String pipelineUniqueId)
    • getPipelineUniqueId

      public String getPipelineUniqueId()
      The parent pipeline UUID.
      Returns:
      pipelineUniqueId
    • setPipelineUniqueId

      public void setPipelineUniqueId(String pipelineUniqueId)
    • queueTime

      public CIAppPipelineEventStage queueTime(Long queueTime)
    • getQueueTime

      @Nullable public Long getQueueTime()
      The queue time in milliseconds, if applicable. minimum: 0
      Returns:
      queueTime
    • getQueueTime_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getQueueTime_JsonNullable()
    • setQueueTime_JsonNullable

      public void setQueueTime_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> queueTime)
    • setQueueTime

      public void setQueueTime(Long queueTime)
    • start

    • getStart

      public OffsetDateTime getStart()
      Time when the stage run started (it should not include any queue time). The time format must be RFC3339.
      Returns:
      start
    • setStart

      public void setStart(OffsetDateTime start)
    • status

    • getStatus

      public CIAppPipelineEventStageStatus getStatus()
      The final status of the stage.
      Returns:
      status
    • setStatus

      public void setStatus(CIAppPipelineEventStageStatus status)
    • tags

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

      public CIAppPipelineEventStage addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      A list of user-defined tags. The tags must follow the key:value pattern.
      Returns:
      tags
    • getTags_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<List<String>> getTags_JsonNullable()
    • setTags_JsonNullable

      public void setTags_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<String>> tags)
    • setTags

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

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