#[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 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 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
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 Debug for ListHostsOutputBuilder
impl Debug for ListHostsOutputBuilder
source§impl Default for ListHostsOutputBuilder
impl Default for ListHostsOutputBuilder
source§fn default() -> ListHostsOutputBuilder
fn default() -> ListHostsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ListHostsOutputBuilder> for ListHostsOutputBuilder
impl PartialEq<ListHostsOutputBuilder> for ListHostsOutputBuilder
source§fn eq(&self, other: &ListHostsOutputBuilder) -> bool
fn eq(&self, other: &ListHostsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.