Struct aws_sdk_finspace::types::CapacityConfiguration
source · #[non_exhaustive]pub struct CapacityConfiguration {
pub node_type: Option<String>,
pub node_count: Option<i32>,
}Expand description
A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.
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.node_type: Option<String>The type that determines the hardware of the host computer used for your cluster instance. Each node type offers different memory and storage capabilities. Choose a node type based on the requirements of the application or software that you plan to run on your instance.
You can only specify one of the following values:
-
kx.s.large– The node type with a configuration of 12 GiB memory and 2 vCPUs. -
kx.s.xlarge– The node type with a configuration of 27 GiB memory and 4 vCPUs. -
kx.s.2xlarge– The node type with a configuration of 54 GiB memory and 8 vCPUs. -
kx.s.4xlarge– The node type with a configuration of 108 GiB memory and 16 vCPUs. -
kx.s.8xlarge– The node type with a configuration of 216 GiB memory and 32 vCPUs. -
kx.s.16xlarge– The node type with a configuration of 432 GiB memory and 64 vCPUs. -
kx.s.32xlarge– The node type with a configuration of 864 GiB memory and 128 vCPUs.
node_count: Option<i32>The number of instances running in a cluster.
Implementations§
source§impl CapacityConfiguration
impl CapacityConfiguration
sourcepub fn node_type(&self) -> Option<&str>
pub fn node_type(&self) -> Option<&str>
The type that determines the hardware of the host computer used for your cluster instance. Each node type offers different memory and storage capabilities. Choose a node type based on the requirements of the application or software that you plan to run on your instance.
You can only specify one of the following values:
-
kx.s.large– The node type with a configuration of 12 GiB memory and 2 vCPUs. -
kx.s.xlarge– The node type with a configuration of 27 GiB memory and 4 vCPUs. -
kx.s.2xlarge– The node type with a configuration of 54 GiB memory and 8 vCPUs. -
kx.s.4xlarge– The node type with a configuration of 108 GiB memory and 16 vCPUs. -
kx.s.8xlarge– The node type with a configuration of 216 GiB memory and 32 vCPUs. -
kx.s.16xlarge– The node type with a configuration of 432 GiB memory and 64 vCPUs. -
kx.s.32xlarge– The node type with a configuration of 864 GiB memory and 128 vCPUs.
sourcepub fn node_count(&self) -> Option<i32>
pub fn node_count(&self) -> Option<i32>
The number of instances running in a cluster.
source§impl CapacityConfiguration
impl CapacityConfiguration
sourcepub fn builder() -> CapacityConfigurationBuilder
pub fn builder() -> CapacityConfigurationBuilder
Creates a new builder-style object to manufacture CapacityConfiguration.
Trait Implementations§
source§impl Clone for CapacityConfiguration
impl Clone for CapacityConfiguration
source§fn clone(&self) -> CapacityConfiguration
fn clone(&self) -> CapacityConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CapacityConfiguration
impl Debug for CapacityConfiguration
source§impl PartialEq for CapacityConfiguration
impl PartialEq for CapacityConfiguration
source§fn eq(&self, other: &CapacityConfiguration) -> bool
fn eq(&self, other: &CapacityConfiguration) -> bool
self and other values to be equal, and is used
by ==.