Struct aws_sdk_codebuild::operation::retry_build_batch::builders::RetryBuildBatchInputBuilder
source · #[non_exhaustive]pub struct RetryBuildBatchInputBuilder { /* private fields */ }
Expand description
A builder for RetryBuildBatchInput
.
Implementations§
source§impl RetryBuildBatchInputBuilder
impl RetryBuildBatchInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
Specifies the identifier of the batch build to restart.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
Specifies the identifier of the batch build to restart.
sourcepub fn get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
Specifies the identifier of the batch build to restart.
sourcepub fn idempotency_token(self, input: impl Into<String>) -> Self
pub fn idempotency_token(self, input: impl Into<String>) -> Self
A unique, case sensitive identifier you provide to ensure the idempotency of the RetryBuildBatch
request. The token is included in the RetryBuildBatch
request and is valid for five minutes. If you repeat the RetryBuildBatch
request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.
sourcepub fn set_idempotency_token(self, input: Option<String>) -> Self
pub fn set_idempotency_token(self, input: Option<String>) -> Self
A unique, case sensitive identifier you provide to ensure the idempotency of the RetryBuildBatch
request. The token is included in the RetryBuildBatch
request and is valid for five minutes. If you repeat the RetryBuildBatch
request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.
sourcepub fn get_idempotency_token(&self) -> &Option<String>
pub fn get_idempotency_token(&self) -> &Option<String>
A unique, case sensitive identifier you provide to ensure the idempotency of the RetryBuildBatch
request. The token is included in the RetryBuildBatch
request and is valid for five minutes. If you repeat the RetryBuildBatch
request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.
sourcepub fn retry_type(self, input: RetryBuildBatchType) -> Self
pub fn retry_type(self, input: RetryBuildBatchType) -> Self
Specifies the type of retry to perform.
sourcepub fn set_retry_type(self, input: Option<RetryBuildBatchType>) -> Self
pub fn set_retry_type(self, input: Option<RetryBuildBatchType>) -> Self
Specifies the type of retry to perform.
sourcepub fn get_retry_type(&self) -> &Option<RetryBuildBatchType>
pub fn get_retry_type(&self) -> &Option<RetryBuildBatchType>
Specifies the type of retry to perform.
sourcepub fn build(self) -> Result<RetryBuildBatchInput, BuildError>
pub fn build(self) -> Result<RetryBuildBatchInput, BuildError>
Consumes the builder and constructs a RetryBuildBatchInput
.
source§impl RetryBuildBatchInputBuilder
impl RetryBuildBatchInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<RetryBuildBatchOutput, SdkError<RetryBuildBatchError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<RetryBuildBatchOutput, SdkError<RetryBuildBatchError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RetryBuildBatchInputBuilder
impl Clone for RetryBuildBatchInputBuilder
source§fn clone(&self) -> RetryBuildBatchInputBuilder
fn clone(&self) -> RetryBuildBatchInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RetryBuildBatchInputBuilder
impl Debug for RetryBuildBatchInputBuilder
source§impl Default for RetryBuildBatchInputBuilder
impl Default for RetryBuildBatchInputBuilder
source§fn default() -> RetryBuildBatchInputBuilder
fn default() -> RetryBuildBatchInputBuilder
source§impl PartialEq for RetryBuildBatchInputBuilder
impl PartialEq for RetryBuildBatchInputBuilder
source§fn eq(&self, other: &RetryBuildBatchInputBuilder) -> bool
fn eq(&self, other: &RetryBuildBatchInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RetryBuildBatchInputBuilder
Auto Trait Implementations§
impl Freeze for RetryBuildBatchInputBuilder
impl RefUnwindSafe for RetryBuildBatchInputBuilder
impl Send for RetryBuildBatchInputBuilder
impl Sync for RetryBuildBatchInputBuilder
impl Unpin for RetryBuildBatchInputBuilder
impl UnwindSafe for RetryBuildBatchInputBuilder
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> 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