Struct aws_sdk_ec2::types::ElasticGpus
source · #[non_exhaustive]pub struct ElasticGpus {
pub elastic_gpu_id: Option<String>,
pub availability_zone: Option<String>,
pub elastic_gpu_type: Option<String>,
pub elastic_gpu_health: Option<ElasticGpuHealth>,
pub elastic_gpu_state: Option<ElasticGpuState>,
pub instance_id: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Amazon Elastic Graphics reached end of life on January 8, 2024. For workloads that require graphics acceleration, we recommend that you use Amazon EC2 G4, G5, or G6 instances.
Describes an Elastic Graphics accelerator.
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.elastic_gpu_id: Option<String>
The ID of the Elastic Graphics accelerator.
availability_zone: Option<String>
The Availability Zone in the which the Elastic Graphics accelerator resides.
elastic_gpu_type: Option<String>
The type of Elastic Graphics accelerator.
elastic_gpu_health: Option<ElasticGpuHealth>
The status of the Elastic Graphics accelerator.
elastic_gpu_state: Option<ElasticGpuState>
The state of the Elastic Graphics accelerator.
instance_id: Option<String>
The ID of the instance to which the Elastic Graphics accelerator is attached.
The tags assigned to the Elastic Graphics accelerator.
Implementations§
source§impl ElasticGpus
impl ElasticGpus
sourcepub fn elastic_gpu_id(&self) -> Option<&str>
pub fn elastic_gpu_id(&self) -> Option<&str>
The ID of the Elastic Graphics accelerator.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone in the which the Elastic Graphics accelerator resides.
sourcepub fn elastic_gpu_type(&self) -> Option<&str>
pub fn elastic_gpu_type(&self) -> Option<&str>
The type of Elastic Graphics accelerator.
sourcepub fn elastic_gpu_health(&self) -> Option<&ElasticGpuHealth>
pub fn elastic_gpu_health(&self) -> Option<&ElasticGpuHealth>
The status of the Elastic Graphics accelerator.
sourcepub fn elastic_gpu_state(&self) -> Option<&ElasticGpuState>
pub fn elastic_gpu_state(&self) -> Option<&ElasticGpuState>
The state of the Elastic Graphics accelerator.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance to which the Elastic Graphics accelerator is attached.
The tags assigned to the Elastic Graphics accelerator.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl ElasticGpus
impl ElasticGpus
sourcepub fn builder() -> ElasticGpusBuilder
pub fn builder() -> ElasticGpusBuilder
Creates a new builder-style object to manufacture ElasticGpus
.
Trait Implementations§
source§impl Clone for ElasticGpus
impl Clone for ElasticGpus
source§fn clone(&self) -> ElasticGpus
fn clone(&self) -> ElasticGpus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ElasticGpus
impl Debug for ElasticGpus
source§impl PartialEq for ElasticGpus
impl PartialEq for ElasticGpus
source§fn eq(&self, other: &ElasticGpus) -> bool
fn eq(&self, other: &ElasticGpus) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ElasticGpus
Auto Trait Implementations§
impl Freeze for ElasticGpus
impl RefUnwindSafe for ElasticGpus
impl Send for ElasticGpus
impl Sync for ElasticGpus
impl Unpin for ElasticGpus
impl UnwindSafe for ElasticGpus
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