#[non_exhaustive]pub struct ListServersOutputBuilder { /* private fields */ }Expand description
A builder for ListServersOutput.
Implementations§
source§impl ListServersOutputBuilder
impl ListServersOutputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When you can get additional results from the ListServers operation, a NextToken parameter is returned in the output. In a following command, you can pass in the NextToken parameter to continue listing additional servers.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When you can get additional results from the ListServers operation, a NextToken parameter is returned in the output. In a following command, you can pass in the NextToken parameter to continue listing additional servers.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When you can get additional results from the ListServers operation, a NextToken parameter is returned in the output. In a following command, you can pass in the NextToken parameter to continue listing additional servers.
sourcepub fn servers(self, input: ListedServer) -> Self
pub fn servers(self, input: ListedServer) -> Self
Appends an item to servers.
To override the contents of this collection use set_servers.
An array of servers that were listed.
sourcepub fn set_servers(self, input: Option<Vec<ListedServer>>) -> Self
pub fn set_servers(self, input: Option<Vec<ListedServer>>) -> Self
An array of servers that were listed.
sourcepub fn get_servers(&self) -> &Option<Vec<ListedServer>>
pub fn get_servers(&self) -> &Option<Vec<ListedServer>>
An array of servers that were listed.
sourcepub fn build(self) -> ListServersOutput
pub fn build(self) -> ListServersOutput
Consumes the builder and constructs a ListServersOutput.
Trait Implementations§
source§impl Clone for ListServersOutputBuilder
impl Clone for ListServersOutputBuilder
source§fn clone(&self) -> ListServersOutputBuilder
fn clone(&self) -> ListServersOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListServersOutputBuilder
impl Debug for ListServersOutputBuilder
source§impl Default for ListServersOutputBuilder
impl Default for ListServersOutputBuilder
source§fn default() -> ListServersOutputBuilder
fn default() -> ListServersOutputBuilder
source§impl PartialEq for ListServersOutputBuilder
impl PartialEq for ListServersOutputBuilder
source§fn eq(&self, other: &ListServersOutputBuilder) -> bool
fn eq(&self, other: &ListServersOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.