Class PutJobSuccessResultRequest

    • Constructor Detail

      • PutJobSuccessResultRequest

        public PutJobSuccessResultRequest()
    • Method Detail

      • setJobId

        public void setJobId​(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.
      • getJobId

        public String getJobId()

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

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

        public PutJobSuccessResultRequest withJobId​(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.
      • setCurrentRevision

        public void setCurrentRevision​(CurrentRevision currentRevision)

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

        Parameters:
        currentRevision - The ID of the current revision of the artifact successfully worked upon by the job.
      • getCurrentRevision

        public CurrentRevision getCurrentRevision()

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

        Returns:
        The ID of the current revision of the artifact successfully worked upon by the job.
      • withCurrentRevision

        public PutJobSuccessResultRequest withCurrentRevision​(CurrentRevision currentRevision)

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

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

        public void setContinuationToken​(String continuationToken)

        A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional 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 an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional information about the progress of the custom action. When the action is complete, no continuation token should be supplied.
      • getContinuationToken

        public String getContinuationToken()

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

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

        public PutJobSuccessResultRequest withContinuationToken​(String continuationToken)

        A token generated by a job worker, such as an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional 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 an AWS CodeDeploy deployment ID, that a successful job provides to identify a custom action in progress. Future jobs will use this token in order to identify the running instance of the action. It can be reused to return additional 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.
      • setExecutionDetails

        public void setExecutionDetails​(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.
      • getExecutionDetails

        public ExecutionDetails getExecutionDetails()

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

        Returns:
        The execution details of the successful job, such as the actions taken by the job worker.
      • withExecutionDetails

        public PutJobSuccessResultRequest withExecutionDetails​(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.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object