@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobData extends Object implements Serializable, Cloneable, StructuredPojo
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()
Represents information about an action configuration.
|
ActionTypeId |
getActionTypeId()
Represents information about an action type.
|
AWSSessionCredentials |
getArtifactCredentials()
Represents an AWS session credentials 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.
|
EncryptionKey |
getEncryptionKey()
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management
Service (AWS 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 AWS session credentials 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 |
setEncryptionKey(EncryptionKey encryptionKey)
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management
Service (AWS 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; useful for testing and debugging.
|
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 AWS session credentials 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 |
withEncryptionKey(EncryptionKey encryptionKey)
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management
Service (AWS 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.
pipelineContext
- Represents information about a pipeline to a job worker.public PipelineContext getPipelineContext()
Represents information about a pipeline to a job worker.
public JobData withPipelineContext(PipelineContext pipelineContext)
Represents information about a pipeline to a job worker.
pipelineContext
- Represents information about a pipeline to a job worker.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 AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline.
artifactCredentials
- Represents an AWS session credentials object. These credentials are temporary credentials that are issued
by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3
bucket used to store artifact for the pipeline in AWS CodePipeline.public AWSSessionCredentials getArtifactCredentials()
Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline.
public JobData withArtifactCredentials(AWSSessionCredentials artifactCredentials)
Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline.
artifactCredentials
- Represents an AWS session credentials object. These credentials are temporary credentials that are issued
by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3
bucket used to store artifact for the pipeline in AWS CodePipeline.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)
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.
encryptionKey
- Represents information about the key used to encrypt data in the artifact store, such as an AWS Key
Management Service (AWS KMS) key.public EncryptionKey getEncryptionKey()
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.
public JobData withEncryptionKey(EncryptionKey encryptionKey)
Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.
encryptionKey
- Represents information about the key used to encrypt data in the artifact store, such as an AWS Key
Management Service (AWS 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.