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