java.lang.Object
com.amazonaws.services.codepipeline.model.JobData
All Implemented Interfaces:
Serializable, Cloneable

public class JobData extends Object implements Serializable, Cloneable

Represents additional information about a job required for a job worker to complete the job.

See Also:
  • Constructor Details

    • JobData

      public JobData()
  • Method Details

    • setActionTypeId

      public void setActionTypeId(ActionTypeId actionTypeId)
      Parameters:
      actionTypeId -
    • getActionTypeId

      public ActionTypeId getActionTypeId()
      Returns:
    • withActionTypeId

      public JobData withActionTypeId(ActionTypeId actionTypeId)
      Parameters:
      actionTypeId -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setActionConfiguration

      public void setActionConfiguration(ActionConfiguration actionConfiguration)
      Parameters:
      actionConfiguration -
    • getActionConfiguration

      public ActionConfiguration getActionConfiguration()
      Returns:
    • withActionConfiguration

      public JobData withActionConfiguration(ActionConfiguration actionConfiguration)
      Parameters:
      actionConfiguration -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPipelineContext

      public void setPipelineContext(PipelineContext pipelineContext)
      Parameters:
      pipelineContext -
    • getPipelineContext

      public PipelineContext getPipelineContext()
      Returns:
    • withPipelineContext

      public JobData withPipelineContext(PipelineContext pipelineContext)
      Parameters:
      pipelineContext -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getInputArtifacts

      public List<Artifact> getInputArtifacts()

      The artifact supplied to the job.

      Returns:
      The artifact supplied to the job.
    • setInputArtifacts

      public void setInputArtifacts(Collection<Artifact> inputArtifacts)

      The artifact supplied to the job.

      Parameters:
      inputArtifacts - The artifact supplied to the job.
    • withInputArtifacts

      public JobData withInputArtifacts(Artifact... inputArtifacts)

      The artifact supplied to the job.

      NOTE: This method appends the values to the existing list (if any). Use setInputArtifacts(java.util.Collection) or withInputArtifacts(java.util.Collection) if you want to override the existing values.

      Parameters:
      inputArtifacts - The artifact supplied to the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withInputArtifacts

      public JobData withInputArtifacts(Collection<Artifact> inputArtifacts)

      The artifact supplied to the job.

      Parameters:
      inputArtifacts - The artifact supplied to the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getOutputArtifacts

      public List<Artifact> getOutputArtifacts()

      The output of the job.

      Returns:
      The output of the job.
    • setOutputArtifacts

      public void setOutputArtifacts(Collection<Artifact> outputArtifacts)

      The output of the job.

      Parameters:
      outputArtifacts - The output of the job.
    • withOutputArtifacts

      public JobData withOutputArtifacts(Artifact... outputArtifacts)

      The output of the job.

      NOTE: This method appends the values to the existing list (if any). Use setOutputArtifacts(java.util.Collection) or withOutputArtifacts(java.util.Collection) if you want to override the existing values.

      Parameters:
      outputArtifacts - The output of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withOutputArtifacts

      public JobData withOutputArtifacts(Collection<Artifact> outputArtifacts)

      The output of the job.

      Parameters:
      outputArtifacts - The output of the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setArtifactCredentials

      public void setArtifactCredentials(AWSSessionCredentials artifactCredentials)
      Parameters:
      artifactCredentials -
    • getArtifactCredentials

      public AWSSessionCredentials getArtifactCredentials()
      Returns:
    • withArtifactCredentials

      public JobData withArtifactCredentials(AWSSessionCredentials artifactCredentials)
      Parameters:
      artifactCredentials -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setContinuationToken

      public void setContinuationToken(String continuationToken)

      A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue the job asynchronously.

      Parameters:
      continuationToken - A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue the job asynchronously.
    • getContinuationToken

      public String getContinuationToken()

      A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue the job asynchronously.

      Returns:
      A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue the job asynchronously.
    • withContinuationToken

      public JobData withContinuationToken(String continuationToken)

      A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue the job asynchronously.

      Parameters:
      continuationToken - A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue the job asynchronously.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEncryptionKey

      public void setEncryptionKey(EncryptionKey encryptionKey)
      Parameters:
      encryptionKey -
    • getEncryptionKey

      public EncryptionKey getEncryptionKey()
      Returns:
    • withEncryptionKey

      public JobData withEncryptionKey(EncryptionKey encryptionKey)
      Parameters:
      encryptionKey -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public JobData clone()
      Overrides:
      clone in class Object