pub struct Builder { /* private fields */ }
Expand description
A builder for PutJobSuccessResultInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs
.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The unique system-generated ID of the job that succeeded. This is the same ID returned from PollForJobs
.
sourcepub fn current_revision(self, input: CurrentRevision) -> Self
pub fn current_revision(self, input: CurrentRevision) -> Self
The ID of the current revision of the artifact successfully worked on by the job.
sourcepub fn set_current_revision(self, input: Option<CurrentRevision>) -> Self
pub fn set_current_revision(self, input: Option<CurrentRevision>) -> Self
The ID of the current revision of the artifact successfully worked on by the job.
sourcepub fn continuation_token(self, input: impl Into<String>) -> Self
pub fn continuation_token(self, input: impl Into<String>) -> Self
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 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.
sourcepub fn set_continuation_token(self, input: Option<String>) -> Self
pub fn set_continuation_token(self, input: Option<String>) -> Self
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 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.
sourcepub fn execution_details(self, input: ExecutionDetails) -> Self
pub fn execution_details(self, input: ExecutionDetails) -> Self
The execution details of the successful job, such as the actions taken by the job worker.
sourcepub fn set_execution_details(self, input: Option<ExecutionDetails>) -> Self
pub fn set_execution_details(self, input: Option<ExecutionDetails>) -> Self
The execution details of the successful job, such as the actions taken by the job worker.
sourcepub fn output_variables(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn output_variables(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to output_variables
.
To override the contents of this collection use set_output_variables
.
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.
sourcepub fn set_output_variables(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_output_variables(self, input: Option<HashMap<String, String>>) -> Self
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.
sourcepub fn build(self) -> Result<PutJobSuccessResultInput, BuildError>
pub fn build(self) -> Result<PutJobSuccessResultInput, BuildError>
Consumes the builder and constructs a PutJobSuccessResultInput
.