Struct aws_sdk_migrationhubstrategy::operation::update_server_config::builders::UpdateServerConfigFluentBuilder
source · pub struct UpdateServerConfigFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateServerConfig
.
Updates the configuration of the specified server.
Implementations§
source§impl UpdateServerConfigFluentBuilder
impl UpdateServerConfigFluentBuilder
sourcepub fn as_input(&self) -> &UpdateServerConfigInputBuilder
pub fn as_input(&self) -> &UpdateServerConfigInputBuilder
Access the UpdateServerConfig as a reference.
sourcepub async fn send(
self
) -> Result<UpdateServerConfigOutput, SdkError<UpdateServerConfigError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateServerConfigOutput, SdkError<UpdateServerConfigError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateServerConfigOutput, UpdateServerConfigError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateServerConfigOutput, UpdateServerConfigError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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
.
Trait Implementations§
source§impl Clone for UpdateServerConfigFluentBuilder
impl Clone for UpdateServerConfigFluentBuilder
source§fn clone(&self) -> UpdateServerConfigFluentBuilder
fn clone(&self) -> UpdateServerConfigFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more