@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobData extends Object implements Serializable, Cloneable, StructuredPojo
Represents other 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()
Represents information about an action configuration.
|
ActionTypeId |
getActionTypeId()
Represents information about an action type.
|
AWSSessionCredentials |
getArtifactCredentials()
Represents an Amazon Web Services session credentials object.
|
String |
getContinuationToken()
A system-generated token, such as a deployment ID, required by a job to continue the job asynchronously.
|
EncryptionKey |
getEncryptionKey()
Represents information about the key used to encrypt data in the artifact store, such as an KMS key.
|
List<Artifact> |
getInputArtifacts()
The artifact supplied to the job.
|
List<Artifact> |
getOutputArtifacts()
The output of the job.
|
PipelineContext |
getPipelineContext()
Represents information about a pipeline to a job worker.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionConfiguration(ActionConfiguration actionConfiguration)
Represents information about an action configuration.
|
void |
setActionTypeId(ActionTypeId actionTypeId)
Represents information about an action type.
|
void |
setArtifactCredentials(AWSSessionCredentials artifactCredentials)
Represents an Amazon Web Services session credentials object.
|
void |
setContinuationToken(String continuationToken)
A system-generated token, such as a deployment ID, required by a job to continue the job asynchronously.
|
void |
setEncryptionKey(EncryptionKey encryptionKey)
Represents information about the key used to encrypt data in the artifact store, such as an KMS key.
|
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)
Represents information about a pipeline to a job worker.
|
String |
toString()
Returns a string representation of this object.
|
JobData |
withActionConfiguration(ActionConfiguration actionConfiguration)
Represents information about an action configuration.
|
JobData |
withActionTypeId(ActionTypeId actionTypeId)
Represents information about an action type.
|
JobData |
withArtifactCredentials(AWSSessionCredentials artifactCredentials)
Represents an Amazon Web Services session credentials object.
|
JobData |
withContinuationToken(String continuationToken)
A system-generated token, such as a deployment ID, required by a job to continue the job asynchronously.
|
JobData |
withEncryptionKey(EncryptionKey encryptionKey)
Represents information about the key used to encrypt data in the artifact store, such as an KMS key.
|
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)
Represents information about a pipeline to a job worker.
|
public void setActionTypeId(ActionTypeId actionTypeId)
Represents information about an action type.
actionTypeId
- Represents information about an action type.public ActionTypeId getActionTypeId()
Represents information about an action type.
public JobData withActionTypeId(ActionTypeId actionTypeId)
Represents information about an action type.
actionTypeId
- Represents information about an action type.public void setActionConfiguration(ActionConfiguration actionConfiguration)
Represents information about an action configuration.
actionConfiguration
- Represents information about an action configuration.public ActionConfiguration getActionConfiguration()
Represents information about an action configuration.
public JobData withActionConfiguration(ActionConfiguration actionConfiguration)
Represents information about an action configuration.
actionConfiguration
- Represents information about an action configuration.public void setPipelineContext(PipelineContext pipelineContext)
Represents information about a pipeline to a job worker.
Includes pipelineArn
and pipelineExecutionId
for custom jobs.
pipelineContext
- Represents information about a pipeline to a job worker.
Includes pipelineArn
and pipelineExecutionId
for custom jobs.
public PipelineContext getPipelineContext()
Represents information about a pipeline to a job worker.
Includes pipelineArn
and pipelineExecutionId
for custom jobs.
Includes pipelineArn
and pipelineExecutionId
for custom jobs.
public JobData withPipelineContext(PipelineContext pipelineContext)
Represents information about a pipeline to a job worker.
Includes pipelineArn
and pipelineExecutionId
for custom jobs.
pipelineContext
- Represents information about a pipeline to a job worker.
Includes pipelineArn
and pipelineExecutionId
for custom jobs.
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)
Represents an Amazon Web Services session credentials object. These credentials are temporary credentials that are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifacts for the pipeline in CodePipeline.
artifactCredentials
- Represents an Amazon Web Services session credentials object. These credentials are temporary credentials
that are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and
output artifacts in the S3 bucket used to store artifacts for the pipeline in CodePipeline.public AWSSessionCredentials getArtifactCredentials()
Represents an Amazon Web Services session credentials object. These credentials are temporary credentials that are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifacts for the pipeline in CodePipeline.
public JobData withArtifactCredentials(AWSSessionCredentials artifactCredentials)
Represents an Amazon Web Services session credentials object. These credentials are temporary credentials that are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and output artifacts in the S3 bucket used to store artifacts for the pipeline in CodePipeline.
artifactCredentials
- Represents an Amazon Web Services session credentials object. These credentials are temporary credentials
that are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and
output artifacts in the S3 bucket used to store artifacts for the pipeline in CodePipeline.public void setContinuationToken(String continuationToken)
A system-generated token, such as a deployment ID, required by a job to continue the job asynchronously.
continuationToken
- A system-generated token, such as a deployment ID, required by a job to continue the job asynchronously.public String getContinuationToken()
A system-generated token, such as a deployment ID, required by a job to continue the job asynchronously.
public JobData withContinuationToken(String continuationToken)
A system-generated token, such as a deployment ID, required by a job to continue the job asynchronously.
continuationToken
- A system-generated token, such as a deployment ID, required by a job to continue the job asynchronously.public void setEncryptionKey(EncryptionKey encryptionKey)
Represents information about the key used to encrypt data in the artifact store, such as an KMS key.
encryptionKey
- Represents information about the key used to encrypt data in the artifact store, such as an KMS key.public EncryptionKey getEncryptionKey()
Represents information about the key used to encrypt data in the artifact store, such as an KMS key.
public JobData withEncryptionKey(EncryptionKey encryptionKey)
Represents information about the key used to encrypt data in the artifact store, such as an KMS key.
encryptionKey
- Represents information about the key used to encrypt data in the artifact store, such as an KMS key.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.