Struct aws_sdk_proton::operation::cancel_component_deployment::builders::CancelComponentDeploymentOutputBuilder
source · #[non_exhaustive]pub struct CancelComponentDeploymentOutputBuilder { /* private fields */ }
Expand description
A builder for CancelComponentDeploymentOutput
.
Implementations§
source§impl CancelComponentDeploymentOutputBuilder
impl CancelComponentDeploymentOutputBuilder
sourcepub fn component(self, input: Component) -> Self
pub fn component(self, input: Component) -> Self
The detailed data of the component with the deployment that is being canceled.
This field is required.sourcepub fn set_component(self, input: Option<Component>) -> Self
pub fn set_component(self, input: Option<Component>) -> Self
The detailed data of the component with the deployment that is being canceled.
sourcepub fn get_component(&self) -> &Option<Component>
pub fn get_component(&self) -> &Option<Component>
The detailed data of the component with the deployment that is being canceled.
sourcepub fn build(self) -> CancelComponentDeploymentOutput
pub fn build(self) -> CancelComponentDeploymentOutput
Consumes the builder and constructs a CancelComponentDeploymentOutput
.
Trait Implementations§
source§impl Clone for CancelComponentDeploymentOutputBuilder
impl Clone for CancelComponentDeploymentOutputBuilder
source§fn clone(&self) -> CancelComponentDeploymentOutputBuilder
fn clone(&self) -> CancelComponentDeploymentOutputBuilder
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 CancelComponentDeploymentOutputBuilder
impl Default for CancelComponentDeploymentOutputBuilder
source§fn default() -> CancelComponentDeploymentOutputBuilder
fn default() -> CancelComponentDeploymentOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CancelComponentDeploymentOutputBuilder
impl PartialEq for CancelComponentDeploymentOutputBuilder
source§fn eq(&self, other: &CancelComponentDeploymentOutputBuilder) -> bool
fn eq(&self, other: &CancelComponentDeploymentOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CancelComponentDeploymentOutputBuilder
Auto Trait Implementations§
impl Freeze for CancelComponentDeploymentOutputBuilder
impl RefUnwindSafe for CancelComponentDeploymentOutputBuilder
impl Send for CancelComponentDeploymentOutputBuilder
impl Sync for CancelComponentDeploymentOutputBuilder
impl Unpin for CancelComponentDeploymentOutputBuilder
impl UnwindSafe for CancelComponentDeploymentOutputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.