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