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()
Returns the value of the ActionConfiguration property for this object.
|
ActionTypeId |
getActionTypeId()
Returns the value of the ActionTypeId property for this object.
|
AWSSessionCredentials |
getArtifactCredentials()
Returns the value of the ArtifactCredentials property for this object.
|
String |
getContinuationToken()
A system-generated token, such as a AWS CodeDeploy deployment ID, that a
job requires in order to continue the job asynchronously.
|
List<Artifact> |
getInputArtifacts()
The artifact supplied to the job.
|
List<Artifact> |
getOutputArtifacts()
The output of the job.
|
PipelineContext |
getPipelineContext()
Returns the value of the PipelineContext property for this object.
|
int |
hashCode() |
void |
setActionConfiguration(ActionConfiguration actionConfiguration)
Sets the value of the ActionConfiguration property for this object.
|
void |
setActionTypeId(ActionTypeId actionTypeId)
Sets the value of the ActionTypeId property for this object.
|
void |
setArtifactCredentials(AWSSessionCredentials artifactCredentials)
Sets the value of the ArtifactCredentials property for this object.
|
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 |
setInputArtifacts(Collection<Artifact> inputArtifacts)
The artifact supplied to the job.
|
void |
setOutputArtifacts(Collection<Artifact> outputArtifacts)
The output of the job.
|
void |
setPipelineContext(PipelineContext pipelineContext)
Sets the value of the PipelineContext property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
JobData |
withActionConfiguration(ActionConfiguration actionConfiguration)
Sets the value of the ActionConfiguration property for this object.
|
JobData |
withActionTypeId(ActionTypeId actionTypeId)
Sets the value of the ActionTypeId property for this object.
|
JobData |
withArtifactCredentials(AWSSessionCredentials artifactCredentials)
Sets the value of the ArtifactCredentials property for this object.
|
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 |
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)
Sets the value of the PipelineContext property for this object.
|
public void setActionTypeId(ActionTypeId actionTypeId)
actionTypeId
- The new value for the ActionTypeId property for this object.public ActionTypeId getActionTypeId()
public JobData withActionTypeId(ActionTypeId actionTypeId)
actionTypeId
- The new value for the ActionTypeId property for this object.public void setActionConfiguration(ActionConfiguration actionConfiguration)
actionConfiguration
- The new value for the ActionConfiguration property for this
object.public ActionConfiguration getActionConfiguration()
public JobData withActionConfiguration(ActionConfiguration actionConfiguration)
actionConfiguration
- The new value for the ActionConfiguration property for this
object.public void setPipelineContext(PipelineContext pipelineContext)
pipelineContext
- The new value for the PipelineContext property for this object.public PipelineContext getPipelineContext()
public JobData withPipelineContext(PipelineContext pipelineContext)
pipelineContext
- The new value for the PipelineContext property for this object.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
- The new value for the ArtifactCredentials property for this
object.public AWSSessionCredentials getArtifactCredentials()
public JobData withArtifactCredentials(AWSSessionCredentials artifactCredentials)
artifactCredentials
- The new value for the ArtifactCredentials property for this
object.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 String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.