@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutApprovalResultRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input of a PutApprovalResult action.
NOOP
Constructor and Description |
---|
PutApprovalResultRequest() |
Modifier and Type | Method and Description |
---|---|
PutApprovalResultRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getActionName()
The name of the action for which approval is requested.
|
String |
getPipelineName()
The name of the pipeline that contains the action.
|
ApprovalResult |
getResult()
Represents information about the result of the approval request.
|
String |
getStageName()
The name of the stage that contains the action.
|
String |
getToken()
The system-generated token used to identify a unique approval request.
|
int |
hashCode() |
void |
setActionName(String actionName)
The name of the action for which approval is requested.
|
void |
setPipelineName(String pipelineName)
The name of the pipeline that contains the action.
|
void |
setResult(ApprovalResult result)
Represents information about the result of the approval request.
|
void |
setStageName(String stageName)
The name of the stage that contains the action.
|
void |
setToken(String token)
The system-generated token used to identify a unique approval request.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutApprovalResultRequest |
withActionName(String actionName)
The name of the action for which approval is requested.
|
PutApprovalResultRequest |
withPipelineName(String pipelineName)
The name of the pipeline that contains the action.
|
PutApprovalResultRequest |
withResult(ApprovalResult result)
Represents information about the result of the approval request.
|
PutApprovalResultRequest |
withStageName(String stageName)
The name of the stage that contains the action.
|
PutApprovalResultRequest |
withToken(String token)
The system-generated token used to identify a unique approval request.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPipelineName(String pipelineName)
The name of the pipeline that contains the action.
pipelineName
- The name of the pipeline that contains the action.public String getPipelineName()
The name of the pipeline that contains the action.
public PutApprovalResultRequest withPipelineName(String pipelineName)
The name of the pipeline that contains the action.
pipelineName
- The name of the pipeline that contains the action.public void setStageName(String stageName)
The name of the stage that contains the action.
stageName
- The name of the stage that contains the action.public String getStageName()
The name of the stage that contains the action.
public PutApprovalResultRequest withStageName(String stageName)
The name of the stage that contains the action.
stageName
- The name of the stage that contains the action.public void setActionName(String actionName)
The name of the action for which approval is requested.
actionName
- The name of the action for which approval is requested.public String getActionName()
The name of the action for which approval is requested.
public PutApprovalResultRequest withActionName(String actionName)
The name of the action for which approval is requested.
actionName
- The name of the action for which approval is requested.public void setResult(ApprovalResult result)
Represents information about the result of the approval request.
result
- Represents information about the result of the approval request.public ApprovalResult getResult()
Represents information about the result of the approval request.
public PutApprovalResultRequest withResult(ApprovalResult result)
Represents information about the result of the approval request.
result
- Represents information about the result of the approval request.public void setToken(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.
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 String getToken()
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 withToken(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.
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 String toString()
toString
in class Object
Object.toString()
public PutApprovalResultRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.