Struct aws_sdk_cloudsearch::model::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: i32The number of replicas you want to preconfigure for each index partition.
desired_partition_count: i32The number of partitions you want to preconfigure for your domain. Only valid when you select m2.2xlarge as the desired instance type.
Implementations
The instance type that you want to preconfigure for your domain. For example, search.m1.small.
The number of replicas you want to preconfigure for each index partition.
The number of partitions you want to preconfigure for your domain. Only valid when you select m2.2xlarge as the desired instance type.
Creates a new builder-style object to manufacture ScalingParameters
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ScalingParameters
impl Send for ScalingParameters
impl Sync for ScalingParameters
impl Unpin for ScalingParameters
impl UnwindSafe for ScalingParameters
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more