Struct aws_sdk_imagebuilder::operation::cancel_image_creation::builders::CancelImageCreationInputBuilder
source · #[non_exhaustive]pub struct CancelImageCreationInputBuilder { /* private fields */ }Expand description
A builder for CancelImageCreationInput.
Implementations§
source§impl CancelImageCreationInputBuilder
impl CancelImageCreationInputBuilder
sourcepub fn image_build_version_arn(self, input: impl Into<String>) -> Self
pub fn image_build_version_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the image that you want to cancel creation for.
sourcepub fn set_image_build_version_arn(self, input: Option<String>) -> Self
pub fn set_image_build_version_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the image that you want to cancel creation for.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
sourcepub fn build(self) -> Result<CancelImageCreationInput, BuildError>
pub fn build(self) -> Result<CancelImageCreationInput, BuildError>
Consumes the builder and constructs a CancelImageCreationInput.
Trait Implementations§
source§impl Clone for CancelImageCreationInputBuilder
impl Clone for CancelImageCreationInputBuilder
source§fn clone(&self) -> CancelImageCreationInputBuilder
fn clone(&self) -> CancelImageCreationInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for CancelImageCreationInputBuilder
impl Default for CancelImageCreationInputBuilder
source§fn default() -> CancelImageCreationInputBuilder
fn default() -> CancelImageCreationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CancelImageCreationInputBuilder> for CancelImageCreationInputBuilder
impl PartialEq<CancelImageCreationInputBuilder> for CancelImageCreationInputBuilder
source§fn eq(&self, other: &CancelImageCreationInputBuilder) -> bool
fn eq(&self, other: &CancelImageCreationInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.