@Generated(value="software.amazon.awssdk:codegen") public class PutApprovalResultRequest extends CodePipelineRequest implements ToCopyableBuilder<PutApprovalResultRequest.Builder,PutApprovalResultRequest>
Represents the input of a PutApprovalResult action.
Modifier and Type | Class and Description |
---|---|
static interface |
PutApprovalResultRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
actionName()
The name of the action for which approval is requested.
|
static PutApprovalResultRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<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 |
pipelineName()
The name of the pipeline that contains the action.
|
ApprovalResult |
result()
Represents information about the result of the approval request.
|
static Class<? extends PutApprovalResultRequest.Builder> |
serializableBuilderClass() |
String |
stageName()
The name of the stage that contains the action.
|
PutApprovalResultRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
token()
The system-generated token used to identify a unique approval request.
|
String |
toString() |
requestOverrideConfig
copy
public String pipelineName()
The name of the pipeline that contains the action.
public String stageName()
The name of the stage that contains the action.
public String actionName()
The name of the action for which approval is requested.
public ApprovalResult result()
Represents information about the result of the approval request.
public String token()
The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState action and is used to validate that the approval request corresponding to this token is still valid.
public PutApprovalResultRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PutApprovalResultRequest.Builder,PutApprovalResultRequest>
toBuilder
in class CodePipelineRequest
public static PutApprovalResultRequest.Builder builder()
public static Class<? extends PutApprovalResultRequest.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.