Struct aws_sdk_ec2::types::ElasticGpuAssociation
source · #[non_exhaustive]pub struct ElasticGpuAssociation {
pub elastic_gpu_id: Option<String>,
pub elastic_gpu_association_id: Option<String>,
pub elastic_gpu_association_state: Option<String>,
pub elastic_gpu_association_time: Option<String>,
}
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 the association between an instance and 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.
elastic_gpu_association_id: Option<String>
The ID of the association.
elastic_gpu_association_state: Option<String>
The state of the association between the instance and the Elastic Graphics accelerator.
elastic_gpu_association_time: Option<String>
The time the Elastic Graphics accelerator was associated with the instance.
Implementations§
source§impl ElasticGpuAssociation
impl ElasticGpuAssociation
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 elastic_gpu_association_id(&self) -> Option<&str>
pub fn elastic_gpu_association_id(&self) -> Option<&str>
The ID of the association.
sourcepub fn elastic_gpu_association_state(&self) -> Option<&str>
pub fn elastic_gpu_association_state(&self) -> Option<&str>
The state of the association between the instance and the Elastic Graphics accelerator.
sourcepub fn elastic_gpu_association_time(&self) -> Option<&str>
pub fn elastic_gpu_association_time(&self) -> Option<&str>
The time the Elastic Graphics accelerator was associated with the instance.
source§impl ElasticGpuAssociation
impl ElasticGpuAssociation
sourcepub fn builder() -> ElasticGpuAssociationBuilder
pub fn builder() -> ElasticGpuAssociationBuilder
Creates a new builder-style object to manufacture ElasticGpuAssociation
.
Trait Implementations§
source§impl Clone for ElasticGpuAssociation
impl Clone for ElasticGpuAssociation
source§fn clone(&self) -> ElasticGpuAssociation
fn clone(&self) -> ElasticGpuAssociation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ElasticGpuAssociation
impl Debug for ElasticGpuAssociation
source§impl PartialEq for ElasticGpuAssociation
impl PartialEq for ElasticGpuAssociation
source§fn eq(&self, other: &ElasticGpuAssociation) -> bool
fn eq(&self, other: &ElasticGpuAssociation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ElasticGpuAssociation
Auto Trait Implementations§
impl Freeze for ElasticGpuAssociation
impl RefUnwindSafe for ElasticGpuAssociation
impl Send for ElasticGpuAssociation
impl Sync for ElasticGpuAssociation
impl Unpin for ElasticGpuAssociation
impl UnwindSafe for ElasticGpuAssociation
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