public class ThirdPartyJobDetails
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The details of a job sent in response to a GetThirdPartyJobDetails request.
Modifier and Type | Field and Description |
---|---|
private ThirdPartyJobData |
data
The data to be returned by the third party job worker.
|
private java.lang.String |
id
The identifier used to identify the job details in AWS CodePipeline.
|
private java.lang.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.
|
Constructor and Description |
---|
ThirdPartyJobDetails() |
Modifier and Type | Method and Description |
---|---|
ThirdPartyJobDetails |
clone() |
boolean |
equals(java.lang.Object obj) |
ThirdPartyJobData |
getData()
The data to be returned by the third party job worker.
|
java.lang.String |
getId()
The identifier used to identify the job details in AWS CodePipeline.
|
java.lang.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 |
setData(ThirdPartyJobData data)
The data to be returned by the third party job worker.
|
void |
setId(java.lang.String id)
The identifier used to identify the job details in AWS CodePipeline.
|
void |
setNonce(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ThirdPartyJobDetails |
withData(ThirdPartyJobData data)
The data to be returned by the third party job worker.
|
ThirdPartyJobDetails |
withId(java.lang.String id)
The identifier used to identify the job details in AWS CodePipeline.
|
ThirdPartyJobDetails |
withNonce(java.lang.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.
|
private java.lang.String id
The identifier used to identify the job details in AWS CodePipeline.
private ThirdPartyJobData data
The data to be returned by the third party job worker.
private java.lang.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.
public void setId(java.lang.String id)
The identifier used to identify the job details in AWS CodePipeline.
id
- The identifier used to identify the job details in AWS
CodePipeline.public java.lang.String getId()
The identifier used to identify the job details in AWS CodePipeline.
public ThirdPartyJobDetails withId(java.lang.String id)
The identifier used to identify the job details in AWS CodePipeline.
id
- The identifier used to identify the job details in AWS
CodePipeline.public void setData(ThirdPartyJobData data)
The data to be returned by the third party job worker.
data
- The data to be returned by the third party job worker.public ThirdPartyJobData getData()
The data to be returned by the third party job worker.
public ThirdPartyJobDetails withData(ThirdPartyJobData data)
The data to be returned by the third party job worker.
data
- The data to be returned by the third party job worker.public void setNonce(java.lang.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 java.lang.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 ThirdPartyJobDetails withNonce(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ThirdPartyJobDetails clone()
clone
in class java.lang.Object