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 PutJobFailureResultRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
FailureDetails
getFailureDetails()
The details about the failure of a job.String
getJobId()
The unique system-generated ID of the job that failed.int
hashCode()
void
setFailureDetails(FailureDetails failureDetails)
The details about the failure of a job.void
setJobId(String jobId)
The unique system-generated ID of the job that failed.String
toString()
Returns a string representation of this object; useful for testing and debugging.PutJobFailureResultRequest
withFailureDetails(FailureDetails failureDetails)
The details about the failure of a job.PutJobFailureResultRequest
withJobId(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PutJobFailureResultRequest 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 classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-