public class JobData
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents additional information about a job required for a job worker to complete the job.
Modifier and Type | Field and Description |
---|---|
private ActionConfiguration |
actionConfiguration |
private ActionTypeId |
actionTypeId |
private AWSSessionCredentials |
artifactCredentials |
private java.lang.String |
continuationToken
A system-generated token, such as a AWS CodeDeploy deployment ID, that a
job requires in order to continue the job asynchronously.
|
private EncryptionKey |
encryptionKey |
private java.util.List<Artifact> |
inputArtifacts
The artifact supplied to the job.
|
private java.util.List<Artifact> |
outputArtifacts
The output of the job.
|
private PipelineContext |
pipelineContext |
Constructor and Description |
---|
JobData() |
Modifier and Type | Method and Description |
---|---|
JobData |
clone() |
boolean |
equals(java.lang.Object obj) |
ActionConfiguration |
getActionConfiguration() |
ActionTypeId |
getActionTypeId() |
AWSSessionCredentials |
getArtifactCredentials() |
java.lang.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() |
java.util.List<Artifact> |
getInputArtifacts()
The artifact supplied to the job.
|
java.util.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(java.lang.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(java.util.Collection<Artifact> inputArtifacts)
The artifact supplied to the job.
|
void |
setOutputArtifacts(java.util.Collection<Artifact> outputArtifacts)
The output of the job.
|
void |
setPipelineContext(PipelineContext pipelineContext) |
java.lang.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(java.lang.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(java.util.Collection<Artifact> inputArtifacts)
The artifact supplied to the job.
|
JobData |
withOutputArtifacts(Artifact... outputArtifacts)
The output of the job.
|
JobData |
withOutputArtifacts(java.util.Collection<Artifact> outputArtifacts)
The output of the job.
|
JobData |
withPipelineContext(PipelineContext pipelineContext) |
private ActionTypeId actionTypeId
private ActionConfiguration actionConfiguration
private PipelineContext pipelineContext
private java.util.List<Artifact> inputArtifacts
The artifact supplied to the job.
private java.util.List<Artifact> outputArtifacts
The output of the job.
private AWSSessionCredentials artifactCredentials
private java.lang.String continuationToken
A system-generated token, such as a AWS CodeDeploy deployment ID, that a job requires in order to continue the job asynchronously.
private EncryptionKey encryptionKey
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 java.util.List<Artifact> getInputArtifacts()
The artifact supplied to the job.
public void setInputArtifacts(java.util.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(java.util.Collection<Artifact> inputArtifacts)
The artifact supplied to the job.
inputArtifacts
- The artifact supplied to the job.public java.util.List<Artifact> getOutputArtifacts()
The output of the job.
public void setOutputArtifacts(java.util.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(java.util.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public JobData clone()
clone
in class java.lang.Object