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