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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description PutThirdPartyJobFailureResultRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutThirdPartyJobFailureResultRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetClientToken()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.FailureDetailsgetFailureDetails()StringgetJobId()The ID of the job that failed.inthashCode()voidsetClientToken(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.voidsetFailureDetails(FailureDetails failureDetails)voidsetJobId(String jobId)The ID of the job that failed.StringtoString()Returns a string representation of this object; useful for testing and debugging.PutThirdPartyJobFailureResultRequestwithClientToken(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.PutThirdPartyJobFailureResultRequestwithFailureDetails(FailureDetails failureDetails)PutThirdPartyJobFailureResultRequestwithJobId(String jobId)The 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 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PutThirdPartyJobFailureResultRequest 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()
-
-