Struct aws_sdk_codepipeline::operation::acknowledge_job::builders::AcknowledgeJobInputBuilder
source · #[non_exhaustive]pub struct AcknowledgeJobInputBuilder { /* private fields */ }
Expand description
A builder for AcknowledgeJobInput
.
Implementations§
source§impl AcknowledgeJobInputBuilder
impl AcknowledgeJobInputBuilder
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.
This field is required.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 get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
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 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 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 get_nonce(&self) -> &Option<String>
pub fn get_nonce(&self) -> &Option<String>
A system-generated random number that 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
.
source§impl AcknowledgeJobInputBuilder
impl AcknowledgeJobInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AcknowledgeJobOutput, SdkError<AcknowledgeJobError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AcknowledgeJobOutput, SdkError<AcknowledgeJobError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AcknowledgeJobInputBuilder
impl Clone for AcknowledgeJobInputBuilder
source§fn clone(&self) -> AcknowledgeJobInputBuilder
fn clone(&self) -> AcknowledgeJobInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AcknowledgeJobInputBuilder
impl Debug for AcknowledgeJobInputBuilder
source§impl Default for AcknowledgeJobInputBuilder
impl Default for AcknowledgeJobInputBuilder
source§fn default() -> AcknowledgeJobInputBuilder
fn default() -> AcknowledgeJobInputBuilder
source§impl PartialEq for AcknowledgeJobInputBuilder
impl PartialEq for AcknowledgeJobInputBuilder
source§fn eq(&self, other: &AcknowledgeJobInputBuilder) -> bool
fn eq(&self, other: &AcknowledgeJobInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.