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 ==
.