Struct aws_sdk_codepipeline::input::acknowledge_job_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AcknowledgeJobInput
.
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 for which you want to confirm receipt.
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 for which you want to confirm receipt.
sourcepub fn nonce(self, input: impl Into<String>) -> Self
pub fn nonce(self, input: impl Into<String>) -> Self
A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Get this number from the response of the PollForJobs
request that returned this job.
sourcepub fn set_nonce(self, input: Option<String>) -> Self
pub fn set_nonce(self, input: Option<String>) -> Self
A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Get this number from the response of the PollForJobs
request that returned this job.
sourcepub fn build(self) -> Result<AcknowledgeJobInput, BuildError>
pub fn build(self) -> Result<AcknowledgeJobInput, BuildError>
Consumes the builder and constructs a AcknowledgeJobInput
.