Struct aws_sdk_codebuild::input::retry_build_input::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for RetryBuildInput
.
Implementations
sourceimpl Builder
impl Builder
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 build(self) -> Result<RetryBuildInput, BuildError>
pub fn build(self) -> Result<RetryBuildInput, BuildError>
Consumes the builder and constructs a RetryBuildInput
.