@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutJobSuccessResultRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a PutJobSuccessResult
action.
NOOP
Constructor and Description |
---|
PutJobSuccessResultRequest() |
Modifier and Type | Method and Description |
---|---|
PutJobSuccessResultRequest |
addOutputVariablesEntry(String key,
String value)
Add a single OutputVariables entry
|
PutJobSuccessResultRequest |
clearOutputVariablesEntries()
Removes all the entries added into OutputVariables.
|
PutJobSuccessResultRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContinuationToken()
A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify
a custom action in progress.
|
CurrentRevision |
getCurrentRevision()
The ID of the current revision of the artifact successfully worked on by the job.
|
ExecutionDetails |
getExecutionDetails()
The execution details of the successful job, such as the actions taken by the job worker.
|
String |
getJobId()
The unique system-generated ID of the job that succeeded.
|
Map<String,String> |
getOutputVariables()
Key-value pairs produced as output by a job worker that can be made available to a downstream action
configuration.
|
int |
hashCode() |
void |
setContinuationToken(String continuationToken)
A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify
a custom action in progress.
|
void |
setCurrentRevision(CurrentRevision currentRevision)
The ID of the current revision of the artifact successfully worked on by the job.
|
void |
setExecutionDetails(ExecutionDetails executionDetails)
The execution details of the successful job, such as the actions taken by the job worker.
|
void |
setJobId(String jobId)
The unique system-generated ID of the job that succeeded.
|
void |
setOutputVariables(Map<String,String> outputVariables)
Key-value pairs produced as output by a job worker that can be made available to a downstream action
configuration.
|
String |
toString()
Returns a string representation of this object.
|
PutJobSuccessResultRequest |
withContinuationToken(String continuationToken)
A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify
a custom action in progress.
|
PutJobSuccessResultRequest |
withCurrentRevision(CurrentRevision currentRevision)
The ID of the current revision of the artifact successfully worked on by the job.
|
PutJobSuccessResultRequest |
withExecutionDetails(ExecutionDetails executionDetails)
The execution details of the successful job, such as the actions taken by the job worker.
|
PutJobSuccessResultRequest |
withJobId(String jobId)
The unique system-generated ID of the job that succeeded.
|
PutJobSuccessResultRequest |
withOutputVariables(Map<String,String> outputVariables)
Key-value pairs produced as output by a job worker that can be made available to a downstream action
configuration.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setJobId(String jobId)
The unique system-generated ID of the job that succeeded. This is the same ID returned from
PollForJobs
.
jobId
- The unique system-generated ID of the job that succeeded. This is the same ID returned from
PollForJobs
.public String getJobId()
The unique system-generated ID of the job that succeeded. This is the same ID returned from
PollForJobs
.
PollForJobs
.public PutJobSuccessResultRequest withJobId(String jobId)
The unique system-generated ID of the job that succeeded. This is the same ID returned from
PollForJobs
.
jobId
- The unique system-generated ID of the job that succeeded. This is the same ID returned from
PollForJobs
.public void setCurrentRevision(CurrentRevision currentRevision)
The ID of the current revision of the artifact successfully worked on by the job.
currentRevision
- The ID of the current revision of the artifact successfully worked on by the job.public CurrentRevision getCurrentRevision()
The ID of the current revision of the artifact successfully worked on by the job.
public PutJobSuccessResultRequest withCurrentRevision(CurrentRevision currentRevision)
The ID of the current revision of the artifact successfully worked on by the job.
currentRevision
- The ID of the current revision of the artifact successfully worked on by the job.public void setContinuationToken(String continuationToken)
A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the custom action. When the action is complete, no continuation token should be supplied.
continuationToken
- A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to
identify a custom action in progress. Future jobs use this token to identify the running instance of the
action. It can be reused to return more information about the progress of the custom action. When the
action is complete, no continuation token should be supplied.public String getContinuationToken()
A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the custom action. When the action is complete, no continuation token should be supplied.
public PutJobSuccessResultRequest withContinuationToken(String continuationToken)
A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the custom action. When the action is complete, no continuation token should be supplied.
continuationToken
- A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to
identify a custom action in progress. Future jobs use this token to identify the running instance of the
action. It can be reused to return more information about the progress of the custom action. When the
action is complete, no continuation token should be supplied.public void setExecutionDetails(ExecutionDetails executionDetails)
The execution details of the successful job, such as the actions taken by the job worker.
executionDetails
- The execution details of the successful job, such as the actions taken by the job worker.public ExecutionDetails getExecutionDetails()
The execution details of the successful job, such as the actions taken by the job worker.
public PutJobSuccessResultRequest withExecutionDetails(ExecutionDetails executionDetails)
The execution details of the successful job, such as the actions taken by the job worker.
executionDetails
- The execution details of the successful job, such as the actions taken by the job worker.public Map<String,String> getOutputVariables()
Key-value pairs produced as output by a job worker that can be made available to a downstream action
configuration. outputVariables
can be included only when there is no continuation token on the
request.
outputVariables
can be included only when there is no continuation token on
the request.public void setOutputVariables(Map<String,String> outputVariables)
Key-value pairs produced as output by a job worker that can be made available to a downstream action
configuration. outputVariables
can be included only when there is no continuation token on the
request.
outputVariables
- Key-value pairs produced as output by a job worker that can be made available to a downstream action
configuration. outputVariables
can be included only when there is no continuation token on
the request.public PutJobSuccessResultRequest withOutputVariables(Map<String,String> outputVariables)
Key-value pairs produced as output by a job worker that can be made available to a downstream action
configuration. outputVariables
can be included only when there is no continuation token on the
request.
outputVariables
- Key-value pairs produced as output by a job worker that can be made available to a downstream action
configuration. outputVariables
can be included only when there is no continuation token on
the request.public PutJobSuccessResultRequest addOutputVariablesEntry(String key, String value)
public PutJobSuccessResultRequest clearOutputVariablesEntries()
public String toString()
toString
in class Object
Object.toString()
public PutJobSuccessResultRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()