Struct aws_sdk_codepipeline::operation::put_third_party_job_success_result::builders::PutThirdPartyJobSuccessResultInputBuilder
source · #[non_exhaustive]pub struct PutThirdPartyJobSuccessResultInputBuilder { /* private fields */ }
Expand description
A builder for PutThirdPartyJobSuccessResultInput
.
Implementations§
source§impl PutThirdPartyJobSuccessResultInputBuilder
impl PutThirdPartyJobSuccessResultInputBuilder
sourcepub fn job_id(self, input: impl Into<String>) -> Self
pub fn job_id(self, input: impl Into<String>) -> Self
The ID of the job that successfully completed. This is the same ID returned from PollForThirdPartyJobs
.
sourcepub fn set_job_id(self, input: Option<String>) -> Self
pub fn set_job_id(self, input: Option<String>) -> Self
The ID of the job that successfully completed. This is the same ID returned from PollForThirdPartyJobs
.
sourcepub fn get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
The ID of the job that successfully completed. This is the same ID returned from PollForThirdPartyJobs
.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.
This field is required.sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.
sourcepub fn current_revision(self, input: CurrentRevision) -> Self
pub fn current_revision(self, input: CurrentRevision) -> Self
Represents information about a current revision.
sourcepub fn set_current_revision(self, input: Option<CurrentRevision>) -> Self
pub fn set_current_revision(self, input: Option<CurrentRevision>) -> Self
Represents information about a current revision.
sourcepub fn get_current_revision(&self) -> &Option<CurrentRevision>
pub fn get_current_revision(&self) -> &Option<CurrentRevision>
Represents information about a current revision.
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 a CodeDeploy deployment ID, that a successful job provides to identify a partner 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 partner 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 a CodeDeploy deployment ID, that a successful job provides to identify a partner 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 partner action. When the action is complete, no continuation token should be supplied.
sourcepub fn get_continuation_token(&self) -> &Option<String>
pub fn get_continuation_token(&self) -> &Option<String>
A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a partner 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 partner 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 details of the actions taken and results produced on an artifact as it passes through stages in the pipeline.
sourcepub fn set_execution_details(self, input: Option<ExecutionDetails>) -> Self
pub fn set_execution_details(self, input: Option<ExecutionDetails>) -> Self
The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline.
sourcepub fn get_execution_details(&self) -> &Option<ExecutionDetails>
pub fn get_execution_details(&self) -> &Option<ExecutionDetails>
The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline.
sourcepub fn build(self) -> Result<PutThirdPartyJobSuccessResultInput, BuildError>
pub fn build(self) -> Result<PutThirdPartyJobSuccessResultInput, BuildError>
Consumes the builder and constructs a PutThirdPartyJobSuccessResultInput
.
source§impl PutThirdPartyJobSuccessResultInputBuilder
impl PutThirdPartyJobSuccessResultInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<PutThirdPartyJobSuccessResultOutput, SdkError<PutThirdPartyJobSuccessResultError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<PutThirdPartyJobSuccessResultOutput, SdkError<PutThirdPartyJobSuccessResultError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutThirdPartyJobSuccessResultInputBuilder
impl Clone for PutThirdPartyJobSuccessResultInputBuilder
source§fn clone(&self) -> PutThirdPartyJobSuccessResultInputBuilder
fn clone(&self) -> PutThirdPartyJobSuccessResultInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutThirdPartyJobSuccessResultInputBuilder
impl Default for PutThirdPartyJobSuccessResultInputBuilder
source§fn default() -> PutThirdPartyJobSuccessResultInputBuilder
fn default() -> PutThirdPartyJobSuccessResultInputBuilder
source§impl PartialEq for PutThirdPartyJobSuccessResultInputBuilder
impl PartialEq for PutThirdPartyJobSuccessResultInputBuilder
source§fn eq(&self, other: &PutThirdPartyJobSuccessResultInputBuilder) -> bool
fn eq(&self, other: &PutThirdPartyJobSuccessResultInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutThirdPartyJobSuccessResultInputBuilder
Auto Trait Implementations§
impl Freeze for PutThirdPartyJobSuccessResultInputBuilder
impl RefUnwindSafe for PutThirdPartyJobSuccessResultInputBuilder
impl Send for PutThirdPartyJobSuccessResultInputBuilder
impl Sync for PutThirdPartyJobSuccessResultInputBuilder
impl Unpin for PutThirdPartyJobSuccessResultInputBuilder
impl UnwindSafe for PutThirdPartyJobSuccessResultInputBuilder
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