Struct aws_sdk_ec2::model::LaunchTemplateCpuOptions
source · #[non_exhaustive]pub struct LaunchTemplateCpuOptions { /* private fields */ }
Expand description
The CPU options for the instance.
Implementations§
source§impl LaunchTemplateCpuOptions
impl LaunchTemplateCpuOptions
sourcepub fn core_count(&self) -> Option<i32>
pub fn core_count(&self) -> Option<i32>
The number of CPU cores for the instance.
sourcepub fn threads_per_core(&self) -> Option<i32>
pub fn threads_per_core(&self) -> Option<i32>
The number of threads per CPU core.
source§impl LaunchTemplateCpuOptions
impl LaunchTemplateCpuOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LaunchTemplateCpuOptions
.
Trait Implementations§
source§impl Clone for LaunchTemplateCpuOptions
impl Clone for LaunchTemplateCpuOptions
source§fn clone(&self) -> LaunchTemplateCpuOptions
fn clone(&self) -> LaunchTemplateCpuOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LaunchTemplateCpuOptions
impl Debug for LaunchTemplateCpuOptions
source§impl PartialEq<LaunchTemplateCpuOptions> for LaunchTemplateCpuOptions
impl PartialEq<LaunchTemplateCpuOptions> for LaunchTemplateCpuOptions
source§fn eq(&self, other: &LaunchTemplateCpuOptions) -> bool
fn eq(&self, other: &LaunchTemplateCpuOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.