Struct aws_sdk_emr::types::SupportedInstanceType
source · #[non_exhaustive]pub struct SupportedInstanceType {
pub type: Option<String>,
pub memory_gb: Option<f32>,
pub storage_gb: Option<i32>,
pub vcpu: Option<i32>,
pub is64_bits_only: Option<bool>,
pub instance_family_id: Option<String>,
pub ebs_optimized_available: Option<bool>,
pub ebs_optimized_by_default: Option<bool>,
pub number_of_disks: Option<i32>,
pub ebs_storage_only: Option<bool>,
pub architecture: Option<String>,
}
Expand description
An instance type that the specified Amazon EMR release supports.
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.type: Option<String>
The Amazon EC2 instance type, for example m5.xlarge
, of the SupportedInstanceType
.
memory_gb: Option<f32>
The amount of memory that is available to Amazon EMR from the SupportedInstanceType
. The kernel and hypervisor software consume some memory, so this value might be lower than the overall memory for the instance type.
storage_gb: Option<i32>
StorageGB
represents the storage capacity of the SupportedInstanceType
. This value is 0
for Amazon EBS-only instance types.
vcpu: Option<i32>
The number of vCPUs available for the SupportedInstanceType
.
is64_bits_only: Option<bool>
Indicates whether the SupportedInstanceType
only supports 64-bit architecture.
instance_family_id: Option<String>
The Amazon EC2 family and generation for the SupportedInstanceType
.
ebs_optimized_available: Option<bool>
Indicates whether the SupportedInstanceType
supports Amazon EBS optimization.
ebs_optimized_by_default: Option<bool>
Indicates whether the SupportedInstanceType
uses Amazon EBS optimization by default.
number_of_disks: Option<i32>
Number of disks for the SupportedInstanceType
. This value is 0
for Amazon EBS-only instance types.
ebs_storage_only: Option<bool>
Indicates whether the SupportedInstanceType
only supports Amazon EBS.
architecture: Option<String>
The CPU architecture, for example X86_64
or AARCH64
.
Implementations§
source§impl SupportedInstanceType
impl SupportedInstanceType
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The Amazon EC2 instance type, for example m5.xlarge
, of the SupportedInstanceType
.
sourcepub fn memory_gb(&self) -> Option<f32>
pub fn memory_gb(&self) -> Option<f32>
The amount of memory that is available to Amazon EMR from the SupportedInstanceType
. The kernel and hypervisor software consume some memory, so this value might be lower than the overall memory for the instance type.
sourcepub fn storage_gb(&self) -> Option<i32>
pub fn storage_gb(&self) -> Option<i32>
StorageGB
represents the storage capacity of the SupportedInstanceType
. This value is 0
for Amazon EBS-only instance types.
sourcepub fn is64_bits_only(&self) -> Option<bool>
pub fn is64_bits_only(&self) -> Option<bool>
Indicates whether the SupportedInstanceType
only supports 64-bit architecture.
sourcepub fn instance_family_id(&self) -> Option<&str>
pub fn instance_family_id(&self) -> Option<&str>
The Amazon EC2 family and generation for the SupportedInstanceType
.
sourcepub fn ebs_optimized_available(&self) -> Option<bool>
pub fn ebs_optimized_available(&self) -> Option<bool>
Indicates whether the SupportedInstanceType
supports Amazon EBS optimization.
sourcepub fn ebs_optimized_by_default(&self) -> Option<bool>
pub fn ebs_optimized_by_default(&self) -> Option<bool>
Indicates whether the SupportedInstanceType
uses Amazon EBS optimization by default.
sourcepub fn number_of_disks(&self) -> Option<i32>
pub fn number_of_disks(&self) -> Option<i32>
Number of disks for the SupportedInstanceType
. This value is 0
for Amazon EBS-only instance types.
sourcepub fn ebs_storage_only(&self) -> Option<bool>
pub fn ebs_storage_only(&self) -> Option<bool>
Indicates whether the SupportedInstanceType
only supports Amazon EBS.
sourcepub fn architecture(&self) -> Option<&str>
pub fn architecture(&self) -> Option<&str>
The CPU architecture, for example X86_64
or AARCH64
.
source§impl SupportedInstanceType
impl SupportedInstanceType
sourcepub fn builder() -> SupportedInstanceTypeBuilder
pub fn builder() -> SupportedInstanceTypeBuilder
Creates a new builder-style object to manufacture SupportedInstanceType
.
Trait Implementations§
source§impl Clone for SupportedInstanceType
impl Clone for SupportedInstanceType
source§fn clone(&self) -> SupportedInstanceType
fn clone(&self) -> SupportedInstanceType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SupportedInstanceType
impl Debug for SupportedInstanceType
source§impl PartialEq for SupportedInstanceType
impl PartialEq for SupportedInstanceType
source§fn eq(&self, other: &SupportedInstanceType) -> bool
fn eq(&self, other: &SupportedInstanceType) -> bool
self
and other
values to be equal, and is used
by ==
.