Class JobData

    • Constructor Detail

      • JobData

        public JobData()
    • Method Detail

      • 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 -
      • 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​(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 -
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object