Struct aws_sdk_codepipeline::operation::put_third_party_job_failure_result::builders::PutThirdPartyJobFailureResultInputBuilder
source · #[non_exhaustive]pub struct PutThirdPartyJobFailureResultInputBuilder { /* private fields */ }
Expand description
A builder for PutThirdPartyJobFailureResultInput
.
Implementations§
source§impl PutThirdPartyJobFailureResultInputBuilder
impl PutThirdPartyJobFailureResultInputBuilder
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 failed. 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 failed. 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 failed. 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.
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 failure_details(self, input: FailureDetails) -> Self
pub fn failure_details(self, input: FailureDetails) -> Self
Represents information about failure details.
sourcepub fn set_failure_details(self, input: Option<FailureDetails>) -> Self
pub fn set_failure_details(self, input: Option<FailureDetails>) -> Self
Represents information about failure details.
sourcepub fn get_failure_details(&self) -> &Option<FailureDetails>
pub fn get_failure_details(&self) -> &Option<FailureDetails>
Represents information about failure details.
sourcepub fn build(self) -> Result<PutThirdPartyJobFailureResultInput, BuildError>
pub fn build(self) -> Result<PutThirdPartyJobFailureResultInput, BuildError>
Consumes the builder and constructs a PutThirdPartyJobFailureResultInput
.
source§impl PutThirdPartyJobFailureResultInputBuilder
impl PutThirdPartyJobFailureResultInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutThirdPartyJobFailureResultOutput, SdkError<PutThirdPartyJobFailureResultError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutThirdPartyJobFailureResultOutput, SdkError<PutThirdPartyJobFailureResultError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutThirdPartyJobFailureResultInputBuilder
impl Clone for PutThirdPartyJobFailureResultInputBuilder
source§fn clone(&self) -> PutThirdPartyJobFailureResultInputBuilder
fn clone(&self) -> PutThirdPartyJobFailureResultInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PutThirdPartyJobFailureResultInputBuilder
impl Default for PutThirdPartyJobFailureResultInputBuilder
source§fn default() -> PutThirdPartyJobFailureResultInputBuilder
fn default() -> PutThirdPartyJobFailureResultInputBuilder
source§impl PartialEq for PutThirdPartyJobFailureResultInputBuilder
impl PartialEq for PutThirdPartyJobFailureResultInputBuilder
source§fn eq(&self, other: &PutThirdPartyJobFailureResultInputBuilder) -> bool
fn eq(&self, other: &PutThirdPartyJobFailureResultInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.