Class PutJobFailureResultRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.codepipeline.model.PutJobFailureResultRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class PutJobFailureResultRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a put job failure result action.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description PutJobFailureResultRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutJobFailureResultRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)FailureDetailsgetFailureDetails()The details about the failure of a job.StringgetJobId()The unique system-generated ID of the job that failed.inthashCode()voidsetFailureDetails(FailureDetails failureDetails)The details about the failure of a job.voidsetJobId(String jobId)The unique system-generated ID of the job that failed.StringtoString()Returns a string representation of this object; useful for testing and debugging.PutJobFailureResultRequestwithFailureDetails(FailureDetails failureDetails)The details about the failure of a job.PutJobFailureResultRequestwithJobId(String jobId)The unique system-generated ID of the job that failed.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setJobId
public void setJobId(String jobId)
The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs.
- Parameters:
jobId- The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs.
-
getJobId
public String getJobId()
The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs.
- Returns:
- The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs.
-
withJobId
public PutJobFailureResultRequest withJobId(String jobId)
The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs.
- Parameters:
jobId- The unique system-generated ID of the job that failed. This is the same ID returned from PollForJobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFailureDetails
public void setFailureDetails(FailureDetails failureDetails)
The details about the failure of a job.
- Parameters:
failureDetails- The details about the failure of a job.
-
getFailureDetails
public FailureDetails getFailureDetails()
The details about the failure of a job.
- Returns:
- The details about the failure of a job.
-
withFailureDetails
public PutJobFailureResultRequest withFailureDetails(FailureDetails failureDetails)
The details about the failure of a job.
- Parameters:
failureDetails- The details about the failure of a job.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PutJobFailureResultRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-