public class ThirdPartyJobData extends Object implements Serializable, Cloneable
Represents information about the job data for a partner action.
Constructor and Description |
---|
ThirdPartyJobData() |
Modifier and Type | Method and Description |
---|---|
ThirdPartyJobData |
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()
The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an AWS Key
Management Service (AWS KMS) key.
|
List<Artifact> |
getInputArtifacts()
The name of the artifact that will be worked upon by the action, if any.
|
List<Artifact> |
getOutputArtifacts()
The name of the artifact that will be the result of the action, if any.
|
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)
The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an AWS Key
Management Service (AWS KMS) key.
|
void |
setInputArtifacts(Collection<Artifact> inputArtifacts)
The name of the artifact that will be worked upon by the action, if any.
|
void |
setOutputArtifacts(Collection<Artifact> outputArtifacts)
The name of the artifact that will be the result of the action, if any.
|
void |
setPipelineContext(PipelineContext pipelineContext) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ThirdPartyJobData |
withActionConfiguration(ActionConfiguration actionConfiguration) |
ThirdPartyJobData |
withActionTypeId(ActionTypeId actionTypeId) |
ThirdPartyJobData |
withArtifactCredentials(AWSSessionCredentials artifactCredentials) |
ThirdPartyJobData |
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.
|
ThirdPartyJobData |
withEncryptionKey(EncryptionKey encryptionKey)
The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an AWS Key
Management Service (AWS KMS) key.
|
ThirdPartyJobData |
withInputArtifacts(Artifact... inputArtifacts)
The name of the artifact that will be worked upon by the action, if any.
|
ThirdPartyJobData |
withInputArtifacts(Collection<Artifact> inputArtifacts)
The name of the artifact that will be worked upon by the action, if any.
|
ThirdPartyJobData |
withOutputArtifacts(Artifact... outputArtifacts)
The name of the artifact that will be the result of the action, if any.
|
ThirdPartyJobData |
withOutputArtifacts(Collection<Artifact> outputArtifacts)
The name of the artifact that will be the result of the action, if any.
|
ThirdPartyJobData |
withPipelineContext(PipelineContext pipelineContext) |
public void setActionTypeId(ActionTypeId actionTypeId)
actionTypeId
- public ActionTypeId getActionTypeId()
public ThirdPartyJobData withActionTypeId(ActionTypeId actionTypeId)
actionTypeId
- public void setActionConfiguration(ActionConfiguration actionConfiguration)
actionConfiguration
- public ActionConfiguration getActionConfiguration()
public ThirdPartyJobData withActionConfiguration(ActionConfiguration actionConfiguration)
actionConfiguration
- public void setPipelineContext(PipelineContext pipelineContext)
pipelineContext
- public PipelineContext getPipelineContext()
public ThirdPartyJobData withPipelineContext(PipelineContext pipelineContext)
pipelineContext
- public List<Artifact> getInputArtifacts()
The name of the artifact that will be worked upon by the action, if any. This name might be system-generated, such as "MyApp", or might be defined by the user when the action is created. The input artifact name must match the name of an output artifact generated by an action in an earlier action or stage of the pipeline.
public void setInputArtifacts(Collection<Artifact> inputArtifacts)
The name of the artifact that will be worked upon by the action, if any. This name might be system-generated, such as "MyApp", or might be defined by the user when the action is created. The input artifact name must match the name of an output artifact generated by an action in an earlier action or stage of the pipeline.
inputArtifacts
- The name of the artifact that will be worked upon by the action, if any. This name might be
system-generated, such as "MyApp", or might be defined by the user when the action is created. The input
artifact name must match the name of an output artifact generated by an action in an earlier action or
stage of the pipeline.public ThirdPartyJobData withInputArtifacts(Artifact... inputArtifacts)
The name of the artifact that will be worked upon by the action, if any. This name might be system-generated, such as "MyApp", or might be defined by the user when the action is created. The input artifact name must match the name of an output artifact generated by an action in an earlier action or stage of the pipeline.
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 name of the artifact that will be worked upon by the action, if any. This name might be
system-generated, such as "MyApp", or might be defined by the user when the action is created. The input
artifact name must match the name of an output artifact generated by an action in an earlier action or
stage of the pipeline.public ThirdPartyJobData withInputArtifacts(Collection<Artifact> inputArtifacts)
The name of the artifact that will be worked upon by the action, if any. This name might be system-generated, such as "MyApp", or might be defined by the user when the action is created. The input artifact name must match the name of an output artifact generated by an action in an earlier action or stage of the pipeline.
inputArtifacts
- The name of the artifact that will be worked upon by the action, if any. This name might be
system-generated, such as "MyApp", or might be defined by the user when the action is created. The input
artifact name must match the name of an output artifact generated by an action in an earlier action or
stage of the pipeline.public List<Artifact> getOutputArtifacts()
The name of the artifact that will be the result of the action, if any. This name might be system-generated, such as "MyBuiltApp", or might be defined by the user when the action is created.
public void setOutputArtifacts(Collection<Artifact> outputArtifacts)
The name of the artifact that will be the result of the action, if any. This name might be system-generated, such as "MyBuiltApp", or might be defined by the user when the action is created.
outputArtifacts
- The name of the artifact that will be the result of the action, if any. This name might be
system-generated, such as "MyBuiltApp", or might be defined by the user when the action is created.public ThirdPartyJobData withOutputArtifacts(Artifact... outputArtifacts)
The name of the artifact that will be the result of the action, if any. This name might be system-generated, such as "MyBuiltApp", or might be defined by the user when the action is created.
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 name of the artifact that will be the result of the action, if any. This name might be
system-generated, such as "MyBuiltApp", or might be defined by the user when the action is created.public ThirdPartyJobData withOutputArtifacts(Collection<Artifact> outputArtifacts)
The name of the artifact that will be the result of the action, if any. This name might be system-generated, such as "MyBuiltApp", or might be defined by the user when the action is created.
outputArtifacts
- The name of the artifact that will be the result of the action, if any. This name might be
system-generated, such as "MyBuiltApp", or might be defined by the user when the action is created.public void setArtifactCredentials(AWSSessionCredentials artifactCredentials)
artifactCredentials
- public AWSSessionCredentials getArtifactCredentials()
public ThirdPartyJobData 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 ThirdPartyJobData 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)
The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an AWS Key Management Service (AWS KMS) key. This is optional and might not be present.
encryptionKey
- The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an AWS
Key Management Service (AWS KMS) key. This is optional and might not be present.public EncryptionKey getEncryptionKey()
The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an AWS Key Management Service (AWS KMS) key. This is optional and might not be present.
public ThirdPartyJobData withEncryptionKey(EncryptionKey encryptionKey)
The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an AWS Key Management Service (AWS KMS) key. This is optional and might not be present.
encryptionKey
- The encryption key used to encrypt and decrypt data in the artifact store for the pipeline, such as an AWS
Key Management Service (AWS KMS) key. This is optional and might not be present.public String toString()
toString
in class Object
Object.toString()
public ThirdPartyJobData clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.