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 ==.impl StructuralPartialEq for CapacityConfiguration
Auto Trait Implementations§
impl Freeze for CapacityConfiguration
impl RefUnwindSafe for CapacityConfiguration
impl Send for CapacityConfiguration
impl Sync for CapacityConfiguration
impl Unpin for CapacityConfiguration
impl UnwindSafe for CapacityConfiguration
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