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
impl StructuralPartialEq for AcknowledgeJobInputBuilder
Auto Trait Implementations§
impl Freeze for AcknowledgeJobInputBuilder
impl RefUnwindSafe for AcknowledgeJobInputBuilder
impl Send for AcknowledgeJobInputBuilder
impl Sync for AcknowledgeJobInputBuilder
impl Unpin for AcknowledgeJobInputBuilder
impl UnwindSafe for AcknowledgeJobInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more