Interface PutJobSuccessResultRequest.Builder

    • Method Detail

      • jobId

        PutJobSuccessResultRequest.Builder jobId​(String jobId)

        The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.

        Parameters:
        jobId - The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • currentRevision

        PutJobSuccessResultRequest.Builder currentRevision​(CurrentRevision currentRevision)

        The ID of the current revision of the artifact successfully worked on by the job.

        Parameters:
        currentRevision - The ID of the current revision of the artifact successfully worked on by the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • continuationToken

        PutJobSuccessResultRequest.Builder continuationToken​(String continuationToken)

        A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the custom action. When the action is complete, no continuation token should be supplied.

        Parameters:
        continuationToken - A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the custom action. When the action is complete, no continuation token should be supplied.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • executionDetails

        PutJobSuccessResultRequest.Builder executionDetails​(ExecutionDetails executionDetails)

        The execution details of the successful job, such as the actions taken by the job worker.

        Parameters:
        executionDetails - The execution details of the successful job, such as the actions taken by the job worker.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outputVariables

        PutJobSuccessResultRequest.Builder outputVariables​(Map<String,​String> outputVariables)

        Key-value pairs produced as output by a job worker that can be made available to a downstream action configuration. outputVariables can be included only when there is no continuation token on the request.

        Parameters:
        outputVariables - Key-value pairs produced as output by a job worker that can be made available to a downstream action configuration. outputVariables can be included only when there is no continuation token on the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.