Class Job
- All Implemented Interfaces:
Serializable, Cloneable
Represents information about a job.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe ID of the AWS account to use when performing the job.getData()Additional data about a job.getId()The unique system-generated ID of the job.getNonce()A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker.inthashCode()voidsetAccountId(String accountId) The ID of the AWS account to use when performing the job.voidAdditional data about a job.voidThe unique system-generated ID of the job.voidA system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker.toString()Returns a string representation of this object; useful for testing and debugging.withAccountId(String accountId) The ID of the AWS account to use when performing the job.Additional data about a job.The unique system-generated ID of the job.A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker.
-
Constructor Details
-
Job
public Job()
-
-
Method Details
-
setId
The unique system-generated ID of the job.
- Parameters:
id- The unique system-generated ID of the job.
-
getId
The unique system-generated ID of the job.
- Returns:
- The unique system-generated ID of the job.
-
withId
-
setData
Additional data about a job.
- Parameters:
data- Additional data about a job.
-
getData
-
withData
-
setNonce
A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. This number must be returned in the response.
- Parameters:
nonce- A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. This number must be returned in the response.
-
getNonce
A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. This number must be returned in the response.
- Returns:
- A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. This number must be returned in the response.
-
withNonce
A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. This number must be returned in the response.
- Parameters:
nonce- A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. This number must be returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAccountId
The ID of the AWS account to use when performing the job.
- Parameters:
accountId- The ID of the AWS account to use when performing the job.
-
getAccountId
The ID of the AWS account to use when performing the job.
- Returns:
- The ID of the AWS account to use when performing the job.
-
withAccountId
-
toString
-
equals
-
hashCode
-
clone
-