public class Job extends Object implements Serializable, Cloneable
Represents information about a job.
Constructor and Description |
---|
Job() |
Modifier and Type | Method and Description |
---|---|
Job |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The ID of the AWS account to use when performing the job.
|
JobData |
getData()
Additional data about a job.
|
String |
getId()
The unique system-generated ID of the job.
|
String |
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 |
setData(JobData data)
Additional data about a job.
|
void |
setId(String id)
The unique system-generated ID of the job.
|
void |
setNonce(String nonce)
A system-generated random number that AWS CodePipeline uses to ensure
that the job is being worked on by only one job worker.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Job |
withAccountId(String accountId)
The ID of the AWS account to use when performing the job.
|
Job |
withData(JobData data)
Additional data about a job.
|
Job |
withId(String id)
The unique system-generated ID of the job.
|
Job |
withNonce(String nonce)
A system-generated random number that AWS CodePipeline uses to ensure
that the job is being worked on by only one job worker.
|
public void setId(String id)
The unique system-generated ID of the job.
id
- The unique system-generated ID of the job.public String getId()
The unique system-generated ID of the job.
public Job withId(String id)
The unique system-generated ID of the job.
id
- The unique system-generated ID of the job.public void setData(JobData data)
Additional data about a job.
data
- Additional data about a job.public JobData getData()
Additional data about a job.
public Job withData(JobData data)
Additional data about a job.
data
- Additional data about a job.public void setNonce(String 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.
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.public String 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.
public Job withNonce(String 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.
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.public void setAccountId(String accountId)
The ID of the AWS account to use when performing the job.
accountId
- The ID of the AWS account to use when performing the job.public String getAccountId()
The ID of the AWS account to use when performing the job.
public Job withAccountId(String accountId)
The ID of the AWS account to use when performing the job.
accountId
- The ID of the AWS account to use when performing the job.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.