Struct aws_sdk_ec2::model::InstanceTypeInfo
source · [−]#[non_exhaustive]pub struct InstanceTypeInfo { /* private fields */ }
Expand description
Describes the instance type.
Implementations
sourceimpl InstanceTypeInfo
impl InstanceTypeInfo
sourcepub fn instance_type(&self) -> Option<&InstanceType>
pub fn instance_type(&self) -> Option<&InstanceType>
The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
sourcepub fn current_generation(&self) -> Option<bool>
pub fn current_generation(&self) -> Option<bool>
Indicates whether the instance type is current generation.
sourcepub fn free_tier_eligible(&self) -> Option<bool>
pub fn free_tier_eligible(&self) -> Option<bool>
Indicates whether the instance type is eligible for the free tier.
sourcepub fn supported_usage_classes(&self) -> Option<&[UsageClassType]>
pub fn supported_usage_classes(&self) -> Option<&[UsageClassType]>
Indicates whether the instance type is offered for spot or On-Demand.
sourcepub fn supported_root_device_types(&self) -> Option<&[RootDeviceType]>
pub fn supported_root_device_types(&self) -> Option<&[RootDeviceType]>
The supported root device types.
sourcepub fn supported_virtualization_types(&self) -> Option<&[VirtualizationType]>
pub fn supported_virtualization_types(&self) -> Option<&[VirtualizationType]>
The supported virtualization types.
sourcepub fn bare_metal(&self) -> Option<bool>
pub fn bare_metal(&self) -> Option<bool>
Indicates whether the instance is a bare metal instance type.
sourcepub fn hypervisor(&self) -> Option<&InstanceTypeHypervisor>
pub fn hypervisor(&self) -> Option<&InstanceTypeHypervisor>
The hypervisor for the instance type.
sourcepub fn processor_info(&self) -> Option<&ProcessorInfo>
pub fn processor_info(&self) -> Option<&ProcessorInfo>
Describes the processor.
sourcepub fn v_cpu_info(&self) -> Option<&VCpuInfo>
pub fn v_cpu_info(&self) -> Option<&VCpuInfo>
Describes the vCPU configurations for the instance type.
sourcepub fn memory_info(&self) -> Option<&MemoryInfo>
pub fn memory_info(&self) -> Option<&MemoryInfo>
Describes the memory for the instance type.
sourcepub fn instance_storage_supported(&self) -> Option<bool>
pub fn instance_storage_supported(&self) -> Option<bool>
Indicates whether instance storage is supported.
sourcepub fn instance_storage_info(&self) -> Option<&InstanceStorageInfo>
pub fn instance_storage_info(&self) -> Option<&InstanceStorageInfo>
Describes the instance storage for the instance type.
sourcepub fn ebs_info(&self) -> Option<&EbsInfo>
pub fn ebs_info(&self) -> Option<&EbsInfo>
Describes the Amazon EBS settings for the instance type.
sourcepub fn network_info(&self) -> Option<&NetworkInfo>
pub fn network_info(&self) -> Option<&NetworkInfo>
Describes the network settings for the instance type.
sourcepub fn gpu_info(&self) -> Option<&GpuInfo>
pub fn gpu_info(&self) -> Option<&GpuInfo>
Describes the GPU accelerator settings for the instance type.
sourcepub fn fpga_info(&self) -> Option<&FpgaInfo>
pub fn fpga_info(&self) -> Option<&FpgaInfo>
Describes the FPGA accelerator settings for the instance type.
sourcepub fn placement_group_info(&self) -> Option<&PlacementGroupInfo>
pub fn placement_group_info(&self) -> Option<&PlacementGroupInfo>
Describes the placement group settings for the instance type.
sourcepub fn inference_accelerator_info(&self) -> Option<&InferenceAcceleratorInfo>
pub fn inference_accelerator_info(&self) -> Option<&InferenceAcceleratorInfo>
Describes the Inference accelerator settings for the instance type.
sourcepub fn hibernation_supported(&self) -> Option<bool>
pub fn hibernation_supported(&self) -> Option<bool>
Indicates whether On-Demand hibernation is supported.
sourcepub fn burstable_performance_supported(&self) -> Option<bool>
pub fn burstable_performance_supported(&self) -> Option<bool>
Indicates whether the instance type is a burstable performance instance type.
sourcepub fn dedicated_hosts_supported(&self) -> Option<bool>
pub fn dedicated_hosts_supported(&self) -> Option<bool>
Indicates whether Dedicated Hosts are supported on the instance type.
sourcepub fn auto_recovery_supported(&self) -> Option<bool>
pub fn auto_recovery_supported(&self) -> Option<bool>
Indicates whether auto recovery is supported.
sourcepub fn supported_boot_modes(&self) -> Option<&[BootModeType]>
pub fn supported_boot_modes(&self) -> Option<&[BootModeType]>
The supported boot modes. For more information, see Boot modes in the Amazon EC2 User Guide.
sourceimpl InstanceTypeInfo
impl InstanceTypeInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceTypeInfo
.
Trait Implementations
sourceimpl Clone for InstanceTypeInfo
impl Clone for InstanceTypeInfo
sourcefn clone(&self) -> InstanceTypeInfo
fn clone(&self) -> InstanceTypeInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InstanceTypeInfo
impl Debug for InstanceTypeInfo
sourceimpl PartialEq<InstanceTypeInfo> for InstanceTypeInfo
impl PartialEq<InstanceTypeInfo> for InstanceTypeInfo
sourcefn eq(&self, other: &InstanceTypeInfo) -> bool
fn eq(&self, other: &InstanceTypeInfo) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InstanceTypeInfo) -> bool
fn ne(&self, other: &InstanceTypeInfo) -> bool
This method tests for !=
.
impl StructuralPartialEq for InstanceTypeInfo
Auto Trait Implementations
impl RefUnwindSafe for InstanceTypeInfo
impl Send for InstanceTypeInfo
impl Sync for InstanceTypeInfo
impl Unpin for InstanceTypeInfo
impl UnwindSafe for InstanceTypeInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more