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.
This field is required.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 get_image_build_version_arn(&self) -> &Option<String>
pub fn get_image_build_version_arn(&self) -> &Option<String>
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.
This field is required.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 get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
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
.
source§impl CancelImageCreationInputBuilder
impl CancelImageCreationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CancelImageCreationOutput, SdkError<CancelImageCreationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CancelImageCreationOutput, SdkError<CancelImageCreationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CancelImageCreationInputBuilder
impl Clone for CancelImageCreationInputBuilder
source§fn clone(&self) -> CancelImageCreationInputBuilder
fn clone(&self) -> CancelImageCreationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CancelImageCreationInputBuilder
impl Default for CancelImageCreationInputBuilder
source§fn default() -> CancelImageCreationInputBuilder
fn default() -> CancelImageCreationInputBuilder
source§impl PartialEq for CancelImageCreationInputBuilder
impl PartialEq for CancelImageCreationInputBuilder
source§fn eq(&self, other: &CancelImageCreationInputBuilder) -> bool
fn eq(&self, other: &CancelImageCreationInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CancelImageCreationInputBuilder
Auto Trait Implementations§
impl Freeze for CancelImageCreationInputBuilder
impl RefUnwindSafe for CancelImageCreationInputBuilder
impl Send for CancelImageCreationInputBuilder
impl Sync for CancelImageCreationInputBuilder
impl Unpin for CancelImageCreationInputBuilder
impl UnwindSafe for CancelImageCreationInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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