Interface PutApprovalResultRequest.Builder

    • Method Detail

      • 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

        PutApprovalResultRequest.Builder stageName​(String 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

        PutApprovalResultRequest.Builder result​(ApprovalResult 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.
      • token

        PutApprovalResultRequest.Builder token​(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. 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 approval request as detailed above is not available. Instead, use the externalExecutionId from the GetPipelineState 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 approval request as detailed above is not available. Instead, use the externalExecutionId from the GetPipelineState action as the token in the approval request.

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