Class PutThirdPartyJobFailureResultRequest

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

public class PutThirdPartyJobFailureResultRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Represents the input of a third party job failure result action.

See Also:
  • Constructor Details

    • PutThirdPartyJobFailureResultRequest

      public PutThirdPartyJobFailureResultRequest()
  • Method Details

    • setJobId

      public void setJobId(String jobId)

      The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs.

      Parameters:
      jobId - The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs.
    • getJobId

      public String getJobId()

      The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs.

      Returns:
      The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs.
    • withJobId

      public PutThirdPartyJobFailureResultRequest withJobId(String jobId)

      The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs.

      Parameters:
      jobId - The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setClientToken

      public void setClientToken(String clientToken)

      The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.

      Parameters:
      clientToken - The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.
    • getClientToken

      public String getClientToken()

      The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.

      Returns:
      The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.
    • withClientToken

      public PutThirdPartyJobFailureResultRequest withClientToken(String clientToken)

      The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.

      Parameters:
      clientToken - The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setFailureDetails

      public void setFailureDetails(FailureDetails failureDetails)
      Parameters:
      failureDetails -
    • getFailureDetails

      public FailureDetails getFailureDetails()
      Returns:
    • withFailureDetails

      public PutThirdPartyJobFailureResultRequest withFailureDetails(FailureDetails failureDetails)
      Parameters:
      failureDetails -
      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: