Class Job
- All Implemented Interfaces:
Serializable
,Cloneable
Represents information about a job.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The 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.int
hashCode()
void
setAccountId
(String accountId) The ID of the AWS account to use when performing the job.void
Additional data about a job.void
The unique system-generated ID of the job.void
A 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
The unique system-generated ID of the job.
- Parameters:
id
- The unique system-generated ID of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setData
Additional data about a job.
- Parameters:
data
- Additional data about a job.
-
getData
Additional data about a job.
- Returns:
- Additional data about a job.
-
withData
Additional data about a job.
- Parameters:
data
- Additional data about a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-