#[non_exhaustive]pub struct RetryBuildInputBuilder { /* private fields */ }
Expand description
A builder for RetryBuildInput
.
Implementations§
source§impl RetryBuildInputBuilder
impl RetryBuildInputBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
Specifies the identifier of the 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 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 RetryBuild
request. The token is included in the RetryBuild
request and is valid for five minutes. If you repeat the RetryBuild
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 RetryBuild
request. The token is included in the RetryBuild
request and is valid for five minutes. If you repeat the RetryBuild
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 RetryBuild
request. The token is included in the RetryBuild
request and is valid for five minutes. If you repeat the RetryBuild
request with the same token, but change a parameter, CodeBuild returns a parameter mismatch error.
sourcepub fn build(self) -> Result<RetryBuildInput, BuildError>
pub fn build(self) -> Result<RetryBuildInput, BuildError>
Consumes the builder and constructs a RetryBuildInput
.
source§impl RetryBuildInputBuilder
impl RetryBuildInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RetryBuildOutput, SdkError<RetryBuildError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RetryBuildOutput, SdkError<RetryBuildError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RetryBuildInputBuilder
impl Clone for RetryBuildInputBuilder
source§fn clone(&self) -> RetryBuildInputBuilder
fn clone(&self) -> RetryBuildInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RetryBuildInputBuilder
impl Debug for RetryBuildInputBuilder
source§impl Default for RetryBuildInputBuilder
impl Default for RetryBuildInputBuilder
source§fn default() -> RetryBuildInputBuilder
fn default() -> RetryBuildInputBuilder
source§impl PartialEq for RetryBuildInputBuilder
impl PartialEq for RetryBuildInputBuilder
source§fn eq(&self, other: &RetryBuildInputBuilder) -> bool
fn eq(&self, other: &RetryBuildInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.