Struct aws_sdk_imagebuilder::operation::cancel_lifecycle_execution::builders::CancelLifecycleExecutionInputBuilder
source · #[non_exhaustive]pub struct CancelLifecycleExecutionInputBuilder { /* private fields */ }
Expand description
A builder for CancelLifecycleExecutionInput
.
Implementations§
source§impl CancelLifecycleExecutionInputBuilder
impl CancelLifecycleExecutionInputBuilder
sourcepub fn lifecycle_execution_id(self, input: impl Into<String>) -> Self
pub fn lifecycle_execution_id(self, input: impl Into<String>) -> Self
Identifies the specific runtime instance of the image lifecycle to cancel.
This field is required.sourcepub fn set_lifecycle_execution_id(self, input: Option<String>) -> Self
pub fn set_lifecycle_execution_id(self, input: Option<String>) -> Self
Identifies the specific runtime instance of the image lifecycle to cancel.
sourcepub fn get_lifecycle_execution_id(&self) -> &Option<String>
pub fn get_lifecycle_execution_id(&self) -> &Option<String>
Identifies the specific runtime instance of the image lifecycle to cancel.
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<CancelLifecycleExecutionInput, BuildError>
pub fn build(self) -> Result<CancelLifecycleExecutionInput, BuildError>
Consumes the builder and constructs a CancelLifecycleExecutionInput
.
source§impl CancelLifecycleExecutionInputBuilder
impl CancelLifecycleExecutionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CancelLifecycleExecutionOutput, SdkError<CancelLifecycleExecutionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CancelLifecycleExecutionOutput, SdkError<CancelLifecycleExecutionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CancelLifecycleExecutionInputBuilder
impl Clone for CancelLifecycleExecutionInputBuilder
source§fn clone(&self) -> CancelLifecycleExecutionInputBuilder
fn clone(&self) -> CancelLifecycleExecutionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CancelLifecycleExecutionInputBuilder
impl Default for CancelLifecycleExecutionInputBuilder
source§fn default() -> CancelLifecycleExecutionInputBuilder
fn default() -> CancelLifecycleExecutionInputBuilder
source§impl PartialEq for CancelLifecycleExecutionInputBuilder
impl PartialEq for CancelLifecycleExecutionInputBuilder
source§fn eq(&self, other: &CancelLifecycleExecutionInputBuilder) -> bool
fn eq(&self, other: &CancelLifecycleExecutionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CancelLifecycleExecutionInputBuilder
Auto Trait Implementations§
impl Freeze for CancelLifecycleExecutionInputBuilder
impl RefUnwindSafe for CancelLifecycleExecutionInputBuilder
impl Send for CancelLifecycleExecutionInputBuilder
impl Sync for CancelLifecycleExecutionInputBuilder
impl Unpin for CancelLifecycleExecutionInputBuilder
impl UnwindSafe for CancelLifecycleExecutionInputBuilder
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> 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