Struct aws_sdk_migrationhubstrategy::operation::get_server_strategies::builders::GetServerStrategiesOutputBuilder
source · #[non_exhaustive]pub struct GetServerStrategiesOutputBuilder { /* private fields */ }Expand description
A builder for GetServerStrategiesOutput.
Implementations§
source§impl GetServerStrategiesOutputBuilder
impl GetServerStrategiesOutputBuilder
sourcepub fn server_strategies(self, input: ServerStrategy) -> Self
pub fn server_strategies(self, input: ServerStrategy) -> Self
Appends an item to server_strategies.
To override the contents of this collection use set_server_strategies.
A list of strategy recommendations for the server.
sourcepub fn set_server_strategies(self, input: Option<Vec<ServerStrategy>>) -> Self
pub fn set_server_strategies(self, input: Option<Vec<ServerStrategy>>) -> Self
A list of strategy recommendations for the server.
sourcepub fn get_server_strategies(&self) -> &Option<Vec<ServerStrategy>>
pub fn get_server_strategies(&self) -> &Option<Vec<ServerStrategy>>
A list of strategy recommendations for the server.
sourcepub fn build(self) -> GetServerStrategiesOutput
pub fn build(self) -> GetServerStrategiesOutput
Consumes the builder and constructs a GetServerStrategiesOutput.
Trait Implementations§
source§impl Clone for GetServerStrategiesOutputBuilder
impl Clone for GetServerStrategiesOutputBuilder
source§fn clone(&self) -> GetServerStrategiesOutputBuilder
fn clone(&self) -> GetServerStrategiesOutputBuilder
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 GetServerStrategiesOutputBuilder
impl Default for GetServerStrategiesOutputBuilder
source§fn default() -> GetServerStrategiesOutputBuilder
fn default() -> GetServerStrategiesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetServerStrategiesOutputBuilder
impl PartialEq for GetServerStrategiesOutputBuilder
source§fn eq(&self, other: &GetServerStrategiesOutputBuilder) -> bool
fn eq(&self, other: &GetServerStrategiesOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetServerStrategiesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetServerStrategiesOutputBuilder
impl Send for GetServerStrategiesOutputBuilder
impl Sync for GetServerStrategiesOutputBuilder
impl Unpin for GetServerStrategiesOutputBuilder
impl UnwindSafe for GetServerStrategiesOutputBuilder
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.