Struct aws_sdk_cloudsearch::operation::update_scaling_parameters::builders::UpdateScalingParametersInputBuilder
source · #[non_exhaustive]pub struct UpdateScalingParametersInputBuilder { /* private fields */ }Expand description
A builder for UpdateScalingParametersInput.
Implementations§
source§impl UpdateScalingParametersInputBuilder
impl UpdateScalingParametersInputBuilder
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).
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<UpdateScalingParametersInput, BuildError>
pub fn build(self) -> Result<UpdateScalingParametersInput, BuildError>
Consumes the builder and constructs a UpdateScalingParametersInput.
source§impl UpdateScalingParametersInputBuilder
impl UpdateScalingParametersInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateScalingParametersOutput, SdkError<UpdateScalingParametersError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateScalingParametersOutput, SdkError<UpdateScalingParametersError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateScalingParametersInputBuilder
impl Clone for UpdateScalingParametersInputBuilder
source§fn clone(&self) -> UpdateScalingParametersInputBuilder
fn clone(&self) -> UpdateScalingParametersInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateScalingParametersInputBuilder
impl Default for UpdateScalingParametersInputBuilder
source§fn default() -> UpdateScalingParametersInputBuilder
fn default() -> UpdateScalingParametersInputBuilder
source§impl PartialEq for UpdateScalingParametersInputBuilder
impl PartialEq for UpdateScalingParametersInputBuilder
source§fn eq(&self, other: &UpdateScalingParametersInputBuilder) -> bool
fn eq(&self, other: &UpdateScalingParametersInputBuilder) -> bool
self and other values to be equal, and is used
by ==.