Class PutJobSuccessResultRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.codepipeline.model.PutJobSuccessResultRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class PutJobSuccessResultRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents the input of a put job success result action.

See Also:
  • Constructor Details

    • PutJobSuccessResultRequest

      public PutJobSuccessResultRequest()
  • Method Details

    • setJobId

      public void setJobId(String jobId)

      The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.

      Parameters:
      jobId - The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
    • getJobId

      public String getJobId()

      The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.

      Returns:
      The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
    • withJobId

      public PutJobSuccessResultRequest withJobId(String jobId)

      The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.

      Parameters:
      jobId - The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCurrentRevision

      public void setCurrentRevision(CurrentRevision currentRevision)

      The ID of the current revision of the artifact successfully worked upon by the job.

      Parameters:
      currentRevision - The ID of the current revision of the artifact successfully worked upon by the job.
    • getCurrentRevision

      public CurrentRevision getCurrentRevision()

      The ID of the current revision of the artifact successfully worked upon by the job.

      Returns:
      The ID of the current revision of the artifact successfully worked upon by the job.
    • withCurrentRevision

      public PutJobSuccessResultRequest withCurrentRevision(CurrentRevision currentRevision)

      The ID of the current revision of the artifact successfully worked upon by the job.

      Parameters:
      currentRevision - The ID of the current revision of the artifact successfully worked upon by the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setContinuationToken

      public void setContinuationToken(String continuationToken)

      A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional information about the progress of the custom action. When the action is complete, no continuation token should be supplied.

      Parameters:
      continuationToken - A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional information about the progress of the custom action. When the action is complete, no continuation token should be supplied.
    • getContinuationToken

      public String getContinuationToken()

      A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional information about the progress of the custom action. When the action is complete, no continuation token should be supplied.

      Returns:
      A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional information about the progress of the custom action. When the action is complete, no continuation token should be supplied.
    • withContinuationToken

      public PutJobSuccessResultRequest withContinuationToken(String continuationToken)

      A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional information about the progress of the custom action. When the action is complete, no continuation token should be supplied.

      Parameters:
      continuationToken - A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional information about the progress of the custom action. When the action is complete, no continuation token should be supplied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setExecutionDetails

      public void setExecutionDetails(ExecutionDetails executionDetails)

      The execution details of the successful job, such as the actions taken by the job worker.

      Parameters:
      executionDetails - The execution details of the successful job, such as the actions taken by the job worker.
    • getExecutionDetails

      public ExecutionDetails getExecutionDetails()

      The execution details of the successful job, such as the actions taken by the job worker.

      Returns:
      The execution details of the successful job, such as the actions taken by the job worker.
    • withExecutionDetails

      public PutJobSuccessResultRequest withExecutionDetails(ExecutionDetails executionDetails)

      The execution details of the successful job, such as the actions taken by the job worker.

      Parameters:
      executionDetails - The execution details of the successful job, such as the actions taken by the job worker.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: