Struct aws_sdk_proton::operation::cancel_component_deployment::builders::CancelComponentDeploymentInputBuilder
source · #[non_exhaustive]pub struct CancelComponentDeploymentInputBuilder { /* private fields */ }Expand description
A builder for CancelComponentDeploymentInput.
Implementations§
source§impl CancelComponentDeploymentInputBuilder
impl CancelComponentDeploymentInputBuilder
sourcepub fn component_name(self, input: impl Into<String>) -> Self
pub fn component_name(self, input: impl Into<String>) -> Self
The name of the component with the deployment to cancel.
This field is required.sourcepub fn set_component_name(self, input: Option<String>) -> Self
pub fn set_component_name(self, input: Option<String>) -> Self
The name of the component with the deployment to cancel.
sourcepub fn get_component_name(&self) -> &Option<String>
pub fn get_component_name(&self) -> &Option<String>
The name of the component with the deployment to cancel.
sourcepub fn build(self) -> Result<CancelComponentDeploymentInput, BuildError>
pub fn build(self) -> Result<CancelComponentDeploymentInput, BuildError>
Consumes the builder and constructs a CancelComponentDeploymentInput.
source§impl CancelComponentDeploymentInputBuilder
impl CancelComponentDeploymentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CancelComponentDeploymentOutput, SdkError<CancelComponentDeploymentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CancelComponentDeploymentOutput, SdkError<CancelComponentDeploymentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CancelComponentDeploymentInputBuilder
impl Clone for CancelComponentDeploymentInputBuilder
source§fn clone(&self) -> CancelComponentDeploymentInputBuilder
fn clone(&self) -> CancelComponentDeploymentInputBuilder
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 CancelComponentDeploymentInputBuilder
impl Default for CancelComponentDeploymentInputBuilder
source§fn default() -> CancelComponentDeploymentInputBuilder
fn default() -> CancelComponentDeploymentInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CancelComponentDeploymentInputBuilder
impl PartialEq for CancelComponentDeploymentInputBuilder
source§fn eq(&self, other: &CancelComponentDeploymentInputBuilder) -> bool
fn eq(&self, other: &CancelComponentDeploymentInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CancelComponentDeploymentInputBuilder
Auto Trait Implementations§
impl Freeze for CancelComponentDeploymentInputBuilder
impl RefUnwindSafe for CancelComponentDeploymentInputBuilder
impl Send for CancelComponentDeploymentInputBuilder
impl Sync for CancelComponentDeploymentInputBuilder
impl Unpin for CancelComponentDeploymentInputBuilder
impl UnwindSafe for CancelComponentDeploymentInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.