Interface PutApprovalResultRequest.Builder

  • Method Details

    • pipelineName

      PutApprovalResultRequest.Builder pipelineName(String pipelineName)

      The name of the pipeline that contains the action.

      Parameters:
      pipelineName - The name of the pipeline that contains the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stageName

      The name of the stage that contains the action.

      Parameters:
      stageName - The name of the stage that contains the action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actionName

      PutApprovalResultRequest.Builder actionName(String actionName)

      The name of the action for which approval is requested.

      Parameters:
      actionName - The name of the action for which approval is requested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • result

      Represents information about the result of the approval request.

      Parameters:
      result - Represents information about the result of the approval request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • result

      Represents information about the result of the approval request.

      This is a convenience method that creates an instance of the ApprovalResult.Builder avoiding the need to create one manually via ApprovalResult.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to result(ApprovalResult).

      Parameters:
      result - a consumer that will call methods on ApprovalResult.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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. It is used to validate that the approval request corresponding to this token is still valid.

      For a pipeline where the execution mode is set to PARALLEL, the token required to approve/reject an approval request as detailed above is not available. Instead, use the externalExecutionId in the response output from the ListActionExecutions action as the token in the approval request.

      Parameters:
      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. It is used to validate that the approval request corresponding to this token is still valid.

      For a pipeline where the execution mode is set to PARALLEL, the token required to approve/reject an approval request as detailed above is not available. Instead, use the externalExecutionId in the response output from the ListActionExecutions action as the token in the approval request.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      PutApprovalResultRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.