@Generated(value="software.amazon.awssdk:codegen") public class PutThirdPartyJobFailureResultRequest extends CodePipelineRequest implements ToCopyableBuilder<PutThirdPartyJobFailureResultRequest.Builder,PutThirdPartyJobFailureResultRequest>
Represents the input of a PutThirdPartyJobFailureResult action.
Modifier and Type | Class and Description |
---|---|
static interface |
PutThirdPartyJobFailureResultRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static PutThirdPartyJobFailureResultRequest.Builder |
builder() |
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.
|
boolean |
equals(Object obj) |
FailureDetails |
failureDetails()
Represents information about failure details.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
String |
jobId()
The ID of the job that failed.
|
static Class<? extends PutThirdPartyJobFailureResultRequest.Builder> |
serializableBuilderClass() |
PutThirdPartyJobFailureResultRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public String jobId()
The ID of the job that failed. This is the same ID returned from PollForThirdPartyJobs.
public 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.
public FailureDetails failureDetails()
Represents information about failure details.
public PutThirdPartyJobFailureResultRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutThirdPartyJobFailureResultRequest.Builder,PutThirdPartyJobFailureResultRequest>
toBuilder
in class CodePipelineRequest
public static PutThirdPartyJobFailureResultRequest.Builder builder()
public static Class<? extends PutThirdPartyJobFailureResultRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.