#[non_exhaustive]pub struct ListHostsOutputBuilder { /* private fields */ }
Expand description
A builder for ListHostsOutput
.
Implementations§
source§impl ListHostsOutputBuilder
impl ListHostsOutputBuilder
sourcepub fn hosts(self, input: Host) -> Self
pub fn hosts(self, input: Host) -> Self
Appends an item to hosts
.
To override the contents of this collection use set_hosts
.
A list of hosts and the details for each host, such as status, endpoint, and provider type.
sourcepub fn set_hosts(self, input: Option<Vec<Host>>) -> Self
pub fn set_hosts(self, input: Option<Vec<Host>>) -> Self
A list of hosts and the details for each host, such as status, endpoint, and provider type.
sourcepub fn get_hosts(&self) -> &Option<Vec<Host>>
pub fn get_hosts(&self) -> &Option<Vec<Host>>
A list of hosts and the details for each host, such as status, endpoint, and provider type.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token that can be used in the next ListHosts
call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken
values are returned.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token that can be used in the next ListHosts
call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken
values are returned.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token that can be used in the next ListHosts
call. To view all items in the list, continue to call this operation with each subsequent token until no more nextToken
values are returned.
sourcepub fn build(self) -> ListHostsOutput
pub fn build(self) -> ListHostsOutput
Consumes the builder and constructs a ListHostsOutput
.
Trait Implementations§
source§impl Clone for ListHostsOutputBuilder
impl Clone for ListHostsOutputBuilder
source§fn clone(&self) -> ListHostsOutputBuilder
fn clone(&self) -> ListHostsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListHostsOutputBuilder
impl Debug for ListHostsOutputBuilder
source§impl Default for ListHostsOutputBuilder
impl Default for ListHostsOutputBuilder
source§fn default() -> ListHostsOutputBuilder
fn default() -> ListHostsOutputBuilder
source§impl PartialEq for ListHostsOutputBuilder
impl PartialEq for ListHostsOutputBuilder
source§fn eq(&self, other: &ListHostsOutputBuilder) -> bool
fn eq(&self, other: &ListHostsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListHostsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListHostsOutputBuilder
impl RefUnwindSafe for ListHostsOutputBuilder
impl Send for ListHostsOutputBuilder
impl Sync for ListHostsOutputBuilder
impl Unpin for ListHostsOutputBuilder
impl UnwindSafe for ListHostsOutputBuilder
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
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>
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>
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 more