public class JobData extends Object implements Serializable, Cloneable
Represents additional information about a job required for a job worker to complete the job.
| Constructor and Description | 
|---|
JobData()  | 
| Modifier and Type | Method and Description | 
|---|---|
JobData | 
clone()  | 
boolean | 
equals(Object obj)  | 
ActionConfiguration | 
getActionConfiguration()  | 
ActionTypeId | 
getActionTypeId()  | 
AWSSessionCredentials | 
getArtifactCredentials()  | 
String | 
getContinuationToken()
 A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue the
 job asynchronously. 
 | 
EncryptionKey | 
getEncryptionKey()  | 
List<Artifact> | 
getInputArtifacts()
 The artifact supplied to the job. 
 | 
List<Artifact> | 
getOutputArtifacts()
 The output of the job. 
 | 
PipelineContext | 
getPipelineContext()  | 
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)  | 
String | 
toString()
Returns a string representation of this object; useful for testing and debugging. 
 | 
JobData | 
withActionConfiguration(ActionConfiguration actionConfiguration)  | 
JobData | 
withActionTypeId(ActionTypeId actionTypeId)  | 
JobData | 
withArtifactCredentials(AWSSessionCredentials artifactCredentials)  | 
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. 
 | 
JobData | 
withEncryptionKey(EncryptionKey encryptionKey)  | 
JobData | 
withInputArtifacts(Artifact... inputArtifacts)
 The artifact supplied to the job. 
 | 
JobData | 
withInputArtifacts(Collection<Artifact> inputArtifacts)
 The artifact supplied to the job. 
 | 
JobData | 
withOutputArtifacts(Artifact... outputArtifacts)
 The output of the job. 
 | 
JobData | 
withOutputArtifacts(Collection<Artifact> outputArtifacts)
 The output of the job. 
 | 
JobData | 
withPipelineContext(PipelineContext pipelineContext)  | 
public void setActionTypeId(ActionTypeId actionTypeId)
actionTypeId - public ActionTypeId getActionTypeId()
public JobData withActionTypeId(ActionTypeId actionTypeId)
actionTypeId - public void setActionConfiguration(ActionConfiguration actionConfiguration)
actionConfiguration - public ActionConfiguration getActionConfiguration()
public JobData withActionConfiguration(ActionConfiguration actionConfiguration)
actionConfiguration - public void setPipelineContext(PipelineContext pipelineContext)
pipelineContext - public PipelineContext getPipelineContext()
public JobData withPipelineContext(PipelineContext pipelineContext)
pipelineContext - public List<Artifact> getInputArtifacts()
The artifact supplied to the job.
public void setInputArtifacts(Collection<Artifact> inputArtifacts)
The artifact supplied to the job.
inputArtifacts - The artifact supplied to the job.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.
 
inputArtifacts - The artifact supplied to the job.public JobData withInputArtifacts(Collection<Artifact> inputArtifacts)
The artifact supplied to the job.
inputArtifacts - The artifact supplied to the job.public List<Artifact> getOutputArtifacts()
The output of the job.
public void setOutputArtifacts(Collection<Artifact> outputArtifacts)
The output of the job.
outputArtifacts - The output of the job.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.
 
outputArtifacts - The output of the job.public JobData withOutputArtifacts(Collection<Artifact> outputArtifacts)
The output of the job.
outputArtifacts - The output of the job.public void setArtifactCredentials(AWSSessionCredentials artifactCredentials)
artifactCredentials - public AWSSessionCredentials getArtifactCredentials()
public JobData withArtifactCredentials(AWSSessionCredentials artifactCredentials)
artifactCredentials - 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.
continuationToken - A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue
        the job asynchronously.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.
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.
continuationToken - A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue
        the job asynchronously.public void setEncryptionKey(EncryptionKey encryptionKey)
encryptionKey - public EncryptionKey getEncryptionKey()
public JobData withEncryptionKey(EncryptionKey encryptionKey)
encryptionKey - public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.