Struct aws_sdk_networkmanager::operation::list_core_networks::builders::ListCoreNetworksOutputBuilder
source · #[non_exhaustive]pub struct ListCoreNetworksOutputBuilder { /* private fields */ }
Expand description
A builder for ListCoreNetworksOutput
.
Implementations§
source§impl ListCoreNetworksOutputBuilder
impl ListCoreNetworksOutputBuilder
sourcepub fn core_networks(self, input: CoreNetworkSummary) -> Self
pub fn core_networks(self, input: CoreNetworkSummary) -> Self
Appends an item to core_networks
.
To override the contents of this collection use set_core_networks
.
Describes the list of core networks.
sourcepub fn set_core_networks(self, input: Option<Vec<CoreNetworkSummary>>) -> Self
pub fn set_core_networks(self, input: Option<Vec<CoreNetworkSummary>>) -> Self
Describes the list of core networks.
sourcepub fn get_core_networks(&self) -> &Option<Vec<CoreNetworkSummary>>
pub fn get_core_networks(&self) -> &Option<Vec<CoreNetworkSummary>>
Describes the list of core networks.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next page of results.
sourcepub fn build(self) -> ListCoreNetworksOutput
pub fn build(self) -> ListCoreNetworksOutput
Consumes the builder and constructs a ListCoreNetworksOutput
.
Trait Implementations§
source§impl Clone for ListCoreNetworksOutputBuilder
impl Clone for ListCoreNetworksOutputBuilder
source§fn clone(&self) -> ListCoreNetworksOutputBuilder
fn clone(&self) -> ListCoreNetworksOutputBuilder
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 ListCoreNetworksOutputBuilder
impl Default for ListCoreNetworksOutputBuilder
source§fn default() -> ListCoreNetworksOutputBuilder
fn default() -> ListCoreNetworksOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListCoreNetworksOutputBuilder
impl PartialEq for ListCoreNetworksOutputBuilder
source§fn eq(&self, other: &ListCoreNetworksOutputBuilder) -> bool
fn eq(&self, other: &ListCoreNetworksOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListCoreNetworksOutputBuilder
Auto Trait Implementations§
impl Freeze for ListCoreNetworksOutputBuilder
impl RefUnwindSafe for ListCoreNetworksOutputBuilder
impl Send for ListCoreNetworksOutputBuilder
impl Sync for ListCoreNetworksOutputBuilder
impl Unpin for ListCoreNetworksOutputBuilder
impl UnwindSafe for ListCoreNetworksOutputBuilder
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.