Struct aws_sdk_migrationhubstrategy::operation::update_server_config::builders::UpdateServerConfigInputBuilder
source · #[non_exhaustive]pub struct UpdateServerConfigInputBuilder { /* private fields */ }Expand description
A builder for UpdateServerConfigInput.
Implementations§
source§impl UpdateServerConfigInputBuilder
impl UpdateServerConfigInputBuilder
sourcepub fn server_id(self, input: impl Into<String>) -> Self
pub fn server_id(self, input: impl Into<String>) -> Self
The ID of the server.
This field is required.sourcepub fn set_server_id(self, input: Option<String>) -> Self
pub fn set_server_id(self, input: Option<String>) -> Self
The ID of the server.
sourcepub fn get_server_id(&self) -> &Option<String>
pub fn get_server_id(&self) -> &Option<String>
The ID of the server.
sourcepub fn strategy_option(self, input: StrategyOption) -> Self
pub fn strategy_option(self, input: StrategyOption) -> Self
The preferred strategy options for the application component. See the response from GetServerStrategies.
sourcepub fn set_strategy_option(self, input: Option<StrategyOption>) -> Self
pub fn set_strategy_option(self, input: Option<StrategyOption>) -> Self
The preferred strategy options for the application component. See the response from GetServerStrategies.
sourcepub fn get_strategy_option(&self) -> &Option<StrategyOption>
pub fn get_strategy_option(&self) -> &Option<StrategyOption>
The preferred strategy options for the application component. See the response from GetServerStrategies.
sourcepub fn build(self) -> Result<UpdateServerConfigInput, BuildError>
pub fn build(self) -> Result<UpdateServerConfigInput, BuildError>
Consumes the builder and constructs a UpdateServerConfigInput.
source§impl UpdateServerConfigInputBuilder
impl UpdateServerConfigInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateServerConfigOutput, SdkError<UpdateServerConfigError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateServerConfigOutput, SdkError<UpdateServerConfigError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateServerConfigInputBuilder
impl Clone for UpdateServerConfigInputBuilder
source§fn clone(&self) -> UpdateServerConfigInputBuilder
fn clone(&self) -> UpdateServerConfigInputBuilder
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 UpdateServerConfigInputBuilder
impl Default for UpdateServerConfigInputBuilder
source§fn default() -> UpdateServerConfigInputBuilder
fn default() -> UpdateServerConfigInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateServerConfigInputBuilder
impl PartialEq for UpdateServerConfigInputBuilder
source§fn eq(&self, other: &UpdateServerConfigInputBuilder) -> bool
fn eq(&self, other: &UpdateServerConfigInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateServerConfigInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for UpdateServerConfigInputBuilder
impl Send for UpdateServerConfigInputBuilder
impl Sync for UpdateServerConfigInputBuilder
impl Unpin for UpdateServerConfigInputBuilder
impl UnwindSafe for UpdateServerConfigInputBuilder
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.