Struct aws_sdk_codepipeline::operation::put_job_success_result::builders::PutJobSuccessResultInputBuilder
source · #[non_exhaustive]pub struct PutJobSuccessResultInputBuilder { /* private fields */ }
Expand description
A builder for PutJobSuccessResultInput
.
Implementations§
source§impl PutJobSuccessResultInputBuilder
impl PutJobSuccessResultInputBuilder
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 get_job_id(&self) -> &Option<String>
pub fn get_job_id(&self) -> &Option<String>
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 get_current_revision(&self) -> &Option<CurrentRevision>
pub fn get_current_revision(&self) -> &Option<CurrentRevision>
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 a 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 a 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 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 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 get_execution_details(&self) -> &Option<ExecutionDetails>
pub fn get_execution_details(&self) -> &Option<ExecutionDetails>
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 get_output_variables(&self) -> &Option<HashMap<String, String>>
pub fn get_output_variables(&self) -> &Option<HashMap<String, String>>
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
.
source§impl PutJobSuccessResultInputBuilder
impl PutJobSuccessResultInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<PutJobSuccessResultOutput, SdkError<PutJobSuccessResultError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<PutJobSuccessResultOutput, SdkError<PutJobSuccessResultError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutJobSuccessResultInputBuilder
impl Clone for PutJobSuccessResultInputBuilder
source§fn clone(&self) -> PutJobSuccessResultInputBuilder
fn clone(&self) -> PutJobSuccessResultInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutJobSuccessResultInputBuilder
impl Default for PutJobSuccessResultInputBuilder
source§fn default() -> PutJobSuccessResultInputBuilder
fn default() -> PutJobSuccessResultInputBuilder
source§impl PartialEq for PutJobSuccessResultInputBuilder
impl PartialEq for PutJobSuccessResultInputBuilder
source§fn eq(&self, other: &PutJobSuccessResultInputBuilder) -> bool
fn eq(&self, other: &PutJobSuccessResultInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PutJobSuccessResultInputBuilder
Auto Trait Implementations§
impl Freeze for PutJobSuccessResultInputBuilder
impl RefUnwindSafe for PutJobSuccessResultInputBuilder
impl Send for PutJobSuccessResultInputBuilder
impl Sync for PutJobSuccessResultInputBuilder
impl Unpin for PutJobSuccessResultInputBuilder
impl UnwindSafe for PutJobSuccessResultInputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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