Struct aws_sdk_cloudsearch::operation::update_scaling_parameters::builders::UpdateScalingParametersFluentBuilder
source · pub struct UpdateScalingParametersFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateScalingParameters.
Configures scaling parameters for a domain. A domain's scaling parameters specify the desired search instance type and replication count. Amazon CloudSearch will still automatically scale your domain based on the volume of data and traffic, but not below the desired instance type and replication count. If the Multi-AZ option is enabled, these values control the resources used per Availability Zone. For more information, see Configuring Scaling Options in the Amazon CloudSearch Developer Guide.
Implementations§
source§impl UpdateScalingParametersFluentBuilder
impl UpdateScalingParametersFluentBuilder
sourcepub fn as_input(&self) -> &UpdateScalingParametersInputBuilder
pub fn as_input(&self) -> &UpdateScalingParametersInputBuilder
Access the UpdateScalingParameters as a reference.
sourcepub async fn send(
self
) -> Result<UpdateScalingParametersOutput, SdkError<UpdateScalingParametersError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateScalingParametersOutput, SdkError<UpdateScalingParametersError, 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<UpdateScalingParametersOutput, UpdateScalingParametersError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateScalingParametersOutput, UpdateScalingParametersError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
sourcepub fn scaling_parameters(self, input: ScalingParameters) -> Self
pub fn scaling_parameters(self, input: ScalingParameters) -> Self
The desired instance type and desired number of replicas of each index partition.
sourcepub fn set_scaling_parameters(self, input: Option<ScalingParameters>) -> Self
pub fn set_scaling_parameters(self, input: Option<ScalingParameters>) -> Self
The desired instance type and desired number of replicas of each index partition.
sourcepub fn get_scaling_parameters(&self) -> &Option<ScalingParameters>
pub fn get_scaling_parameters(&self) -> &Option<ScalingParameters>
The desired instance type and desired number of replicas of each index partition.
Trait Implementations§
source§impl Clone for UpdateScalingParametersFluentBuilder
impl Clone for UpdateScalingParametersFluentBuilder
source§fn clone(&self) -> UpdateScalingParametersFluentBuilder
fn clone(&self) -> UpdateScalingParametersFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more