@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Job extends Object implements Serializable, Cloneable, StructuredPojo
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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. Use this number in an AcknowledgeJob request.
nonce
- A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by
only one job worker. Use this number in an AcknowledgeJob request.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. Use this number in an AcknowledgeJob request.
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. Use this number in an AcknowledgeJob request.
nonce
- A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by
only one job worker. Use this number in an AcknowledgeJob request.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()
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.