Class JobData
- All Implemented Interfaces:
Serializable
,Cloneable
Represents additional information about a job required for a job worker to complete the job.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue the job asynchronously.The artifact supplied to the job.The output of the job.int
hashCode()
void
setActionConfiguration
(ActionConfiguration actionConfiguration) void
setActionTypeId
(ActionTypeId actionTypeId) void
setArtifactCredentials
(AWSSessionCredentials artifactCredentials) 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.void
setEncryptionKey
(EncryptionKey encryptionKey) void
setInputArtifacts
(Collection<Artifact> inputArtifacts) The artifact supplied to the job.void
setOutputArtifacts
(Collection<Artifact> outputArtifacts) The output of the job.void
setPipelineContext
(PipelineContext pipelineContext) toString()
Returns a string representation of this object; useful for testing and debugging.withActionConfiguration
(ActionConfiguration actionConfiguration) withActionTypeId
(ActionTypeId actionTypeId) withArtifactCredentials
(AWSSessionCredentials artifactCredentials) 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.withEncryptionKey
(EncryptionKey encryptionKey) withInputArtifacts
(Artifact... inputArtifacts) The artifact supplied to the job.withInputArtifacts
(Collection<Artifact> inputArtifacts) The artifact supplied to the job.withOutputArtifacts
(Artifact... outputArtifacts) The output of the job.withOutputArtifacts
(Collection<Artifact> outputArtifacts) The output of the job.withPipelineContext
(PipelineContext pipelineContext)
-
Constructor Details
-
JobData
public JobData()
-
-
Method Details
-
setActionTypeId
- Parameters:
actionTypeId
-
-
getActionTypeId
- Returns:
-
withActionTypeId
- Parameters:
actionTypeId
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setActionConfiguration
- Parameters:
actionConfiguration
-
-
getActionConfiguration
- Returns:
-
withActionConfiguration
- Parameters:
actionConfiguration
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPipelineContext
- Parameters:
pipelineContext
-
-
getPipelineContext
- Returns:
-
withPipelineContext
- Parameters:
pipelineContext
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getInputArtifacts
The artifact supplied to the job.
- Returns:
- The artifact supplied to the job.
-
setInputArtifacts
The artifact supplied to the job.
- Parameters:
inputArtifacts
- The artifact supplied to the job.
-
withInputArtifacts
The artifact supplied to the job.
NOTE: This method appends the values to the existing list (if any). Use
setInputArtifacts(java.util.Collection)
orwithInputArtifacts(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
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
The output of the job.
- Returns:
- The output of the job.
-
setOutputArtifacts
The output of the job.
- Parameters:
outputArtifacts
- The output of the job.
-
withOutputArtifacts
The output of the job.
NOTE: This method appends the values to the existing list (if any). Use
setOutputArtifacts(java.util.Collection)
orwithOutputArtifacts(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
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
- Parameters:
artifactCredentials
-
-
getArtifactCredentials
- Returns:
-
withArtifactCredentials
- Parameters:
artifactCredentials
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setContinuationToken
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
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
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
- Parameters:
encryptionKey
-
-
getEncryptionKey
- Returns:
-
withEncryptionKey
- Parameters:
encryptionKey
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-