Struct aws_sdk_ec2::types::builders::ElasticGpuAssociationBuilder
source · #[non_exhaustive]pub struct ElasticGpuAssociationBuilder { /* private fields */ }
Expand description
A builder for ElasticGpuAssociation
.
Implementations§
source§impl ElasticGpuAssociationBuilder
impl ElasticGpuAssociationBuilder
sourcepub fn elastic_gpu_id(self, input: impl Into<String>) -> Self
pub fn elastic_gpu_id(self, input: impl Into<String>) -> Self
The ID of the Elastic Graphics accelerator.
sourcepub fn set_elastic_gpu_id(self, input: Option<String>) -> Self
pub fn set_elastic_gpu_id(self, input: Option<String>) -> Self
The ID of the Elastic Graphics accelerator.
sourcepub fn get_elastic_gpu_id(&self) -> &Option<String>
pub fn get_elastic_gpu_id(&self) -> &Option<String>
The ID of the Elastic Graphics accelerator.
sourcepub fn elastic_gpu_association_id(self, input: impl Into<String>) -> Self
pub fn elastic_gpu_association_id(self, input: impl Into<String>) -> Self
The ID of the association.
sourcepub fn set_elastic_gpu_association_id(self, input: Option<String>) -> Self
pub fn set_elastic_gpu_association_id(self, input: Option<String>) -> Self
The ID of the association.
sourcepub fn get_elastic_gpu_association_id(&self) -> &Option<String>
pub fn get_elastic_gpu_association_id(&self) -> &Option<String>
The ID of the association.
sourcepub fn elastic_gpu_association_state(self, input: impl Into<String>) -> Self
pub fn elastic_gpu_association_state(self, input: impl Into<String>) -> Self
The state of the association between the instance and the Elastic Graphics accelerator.
sourcepub fn set_elastic_gpu_association_state(self, input: Option<String>) -> Self
pub fn set_elastic_gpu_association_state(self, input: Option<String>) -> Self
The state of the association between the instance and the Elastic Graphics accelerator.
sourcepub fn get_elastic_gpu_association_state(&self) -> &Option<String>
pub fn get_elastic_gpu_association_state(&self) -> &Option<String>
The state of the association between the instance and the Elastic Graphics accelerator.
sourcepub fn elastic_gpu_association_time(self, input: impl Into<String>) -> Self
pub fn elastic_gpu_association_time(self, input: impl Into<String>) -> Self
The time the Elastic Graphics accelerator was associated with the instance.
sourcepub fn set_elastic_gpu_association_time(self, input: Option<String>) -> Self
pub fn set_elastic_gpu_association_time(self, input: Option<String>) -> Self
The time the Elastic Graphics accelerator was associated with the instance.
sourcepub fn get_elastic_gpu_association_time(&self) -> &Option<String>
pub fn get_elastic_gpu_association_time(&self) -> &Option<String>
The time the Elastic Graphics accelerator was associated with the instance.
sourcepub fn build(self) -> ElasticGpuAssociation
pub fn build(self) -> ElasticGpuAssociation
Consumes the builder and constructs a ElasticGpuAssociation
.
Trait Implementations§
source§impl Clone for ElasticGpuAssociationBuilder
impl Clone for ElasticGpuAssociationBuilder
source§fn clone(&self) -> ElasticGpuAssociationBuilder
fn clone(&self) -> ElasticGpuAssociationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ElasticGpuAssociationBuilder
impl Debug for ElasticGpuAssociationBuilder
source§impl Default for ElasticGpuAssociationBuilder
impl Default for ElasticGpuAssociationBuilder
source§fn default() -> ElasticGpuAssociationBuilder
fn default() -> ElasticGpuAssociationBuilder
source§impl PartialEq for ElasticGpuAssociationBuilder
impl PartialEq for ElasticGpuAssociationBuilder
source§fn eq(&self, other: &ElasticGpuAssociationBuilder) -> bool
fn eq(&self, other: &ElasticGpuAssociationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ElasticGpuAssociationBuilder
Auto Trait Implementations§
impl Freeze for ElasticGpuAssociationBuilder
impl RefUnwindSafe for ElasticGpuAssociationBuilder
impl Send for ElasticGpuAssociationBuilder
impl Sync for ElasticGpuAssociationBuilder
impl Unpin for ElasticGpuAssociationBuilder
impl UnwindSafe for ElasticGpuAssociationBuilder
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