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