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 ==
.