Struct aws_sdk_migrationhubstrategy::operation::list_servers::builders::ListServersOutputBuilder
source · #[non_exhaustive]pub struct ListServersOutputBuilder { /* private fields */ }Expand description
A builder for ListServersOutput.
Implementations§
source§impl ListServersOutputBuilder
impl ListServersOutputBuilder
sourcepub fn server_infos(self, input: ServerDetail) -> Self
pub fn server_infos(self, input: ServerDetail) -> Self
Appends an item to server_infos.
To override the contents of this collection use set_server_infos.
The list of servers with detailed information about each server.
sourcepub fn set_server_infos(self, input: Option<Vec<ServerDetail>>) -> Self
pub fn set_server_infos(self, input: Option<Vec<ServerDetail>>) -> Self
The list of servers with detailed information about each server.
sourcepub fn get_server_infos(&self) -> &Option<Vec<ServerDetail>>
pub fn get_server_infos(&self) -> &Option<Vec<ServerDetail>>
The list of servers with detailed information about each server.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token you use to retrieve the next set of results, or null if there are no more results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token you use to retrieve the next set of results, or null if there are no more results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token you use to retrieve the next set of results, or null if there are no more results.
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
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 ListServersOutputBuilder
impl Debug for ListServersOutputBuilder
source§impl Default for ListServersOutputBuilder
impl Default for ListServersOutputBuilder
source§fn default() -> ListServersOutputBuilder
fn default() -> ListServersOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListServersOutputBuilder
impl PartialEq for ListServersOutputBuilder
source§fn eq(&self, other: &ListServersOutputBuilder) -> bool
fn eq(&self, other: &ListServersOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListServersOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListServersOutputBuilder
impl Send for ListServersOutputBuilder
impl Sync for ListServersOutputBuilder
impl Unpin for ListServersOutputBuilder
impl UnwindSafe for ListServersOutputBuilder
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>
Creates a shared type from an unshared type.