Struct aws_sdk_ec2::operation::terminate_instances::builders::TerminateInstancesOutputBuilder    
source · #[non_exhaustive]pub struct TerminateInstancesOutputBuilder { /* private fields */ }Expand description
A builder for TerminateInstancesOutput.
Implementations§
source§impl TerminateInstancesOutputBuilder
 
impl TerminateInstancesOutputBuilder
sourcepub fn terminating_instances(self, input: InstanceStateChange) -> Self
 
pub fn terminating_instances(self, input: InstanceStateChange) -> Self
Appends an item to terminating_instances.
To override the contents of this collection use set_terminating_instances.
Information about the terminated instances.
sourcepub fn set_terminating_instances(
    self,
    input: Option<Vec<InstanceStateChange>>
) -> Self
 
pub fn set_terminating_instances( self, input: Option<Vec<InstanceStateChange>> ) -> Self
Information about the terminated instances.
sourcepub fn get_terminating_instances(&self) -> &Option<Vec<InstanceStateChange>>
 
pub fn get_terminating_instances(&self) -> &Option<Vec<InstanceStateChange>>
Information about the terminated instances.
sourcepub fn build(self) -> TerminateInstancesOutput
 
pub fn build(self) -> TerminateInstancesOutput
Consumes the builder and constructs a TerminateInstancesOutput.
Trait Implementations§
source§impl Clone for TerminateInstancesOutputBuilder
 
impl Clone for TerminateInstancesOutputBuilder
source§fn clone(&self) -> TerminateInstancesOutputBuilder
 
fn clone(&self) -> TerminateInstancesOutputBuilder
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 TerminateInstancesOutputBuilder
 
impl Default for TerminateInstancesOutputBuilder
source§fn default() -> TerminateInstancesOutputBuilder
 
fn default() -> TerminateInstancesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TerminateInstancesOutputBuilder
 
impl PartialEq for TerminateInstancesOutputBuilder
source§fn eq(&self, other: &TerminateInstancesOutputBuilder) -> bool
 
fn eq(&self, other: &TerminateInstancesOutputBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TerminateInstancesOutputBuilder
Auto Trait Implementations§
impl Freeze for TerminateInstancesOutputBuilder
impl RefUnwindSafe for TerminateInstancesOutputBuilder
impl Send for TerminateInstancesOutputBuilder
impl Sync for TerminateInstancesOutputBuilder
impl Unpin for TerminateInstancesOutputBuilder
impl UnwindSafe for TerminateInstancesOutputBuilder
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.