Struct aws_sdk_cloudsearch::types::ScalingParameters
source · #[non_exhaustive]pub struct ScalingParameters {
pub desired_instance_type: Option<PartitionInstanceType>,
pub desired_replication_count: i32,
pub desired_partition_count: i32,
}
Expand description
The desired instance type and desired number of replicas of each index partition.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.desired_instance_type: Option<PartitionInstanceType>
The instance type that you want to preconfigure for your domain. For example, search.m1.small
.
desired_replication_count: i32
The number of replicas you want to preconfigure for each index partition.
desired_partition_count: i32
The number of partitions you want to preconfigure for your domain. Only valid when you select m2.2xlarge
as the desired instance type.
Implementations§
source§impl ScalingParameters
impl ScalingParameters
sourcepub fn desired_instance_type(&self) -> Option<&PartitionInstanceType>
pub fn desired_instance_type(&self) -> Option<&PartitionInstanceType>
The instance type that you want to preconfigure for your domain. For example, search.m1.small
.
sourcepub fn desired_replication_count(&self) -> i32
pub fn desired_replication_count(&self) -> i32
The number of replicas you want to preconfigure for each index partition.
sourcepub fn desired_partition_count(&self) -> i32
pub fn desired_partition_count(&self) -> i32
The number of partitions you want to preconfigure for your domain. Only valid when you select m2.2xlarge
as the desired instance type.
source§impl ScalingParameters
impl ScalingParameters
sourcepub fn builder() -> ScalingParametersBuilder
pub fn builder() -> ScalingParametersBuilder
Creates a new builder-style object to manufacture ScalingParameters
.
Trait Implementations§
source§impl Clone for ScalingParameters
impl Clone for ScalingParameters
source§fn clone(&self) -> ScalingParameters
fn clone(&self) -> ScalingParameters
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ScalingParameters
impl Debug for ScalingParameters
source§impl PartialEq for ScalingParameters
impl PartialEq for ScalingParameters
source§fn eq(&self, other: &ScalingParameters) -> bool
fn eq(&self, other: &ScalingParameters) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ScalingParameters
Auto Trait Implementations§
impl Freeze for ScalingParameters
impl RefUnwindSafe for ScalingParameters
impl Send for ScalingParameters
impl Sync for ScalingParameters
impl Unpin for ScalingParameters
impl UnwindSafe for ScalingParameters
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more