Struct aws_sdk_ec2::types::builders::ElasticGpusBuilder
source · #[non_exhaustive]pub struct ElasticGpusBuilder { /* private fields */ }
Expand description
A builder for ElasticGpus
.
Implementations§
source§impl ElasticGpusBuilder
impl ElasticGpusBuilder
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 availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The Availability Zone in the which the Elastic Graphics accelerator resides.
sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The Availability Zone in the which the Elastic Graphics accelerator resides.
sourcepub fn get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
The Availability Zone in the which the Elastic Graphics accelerator resides.
sourcepub fn elastic_gpu_type(self, input: impl Into<String>) -> Self
pub fn elastic_gpu_type(self, input: impl Into<String>) -> Self
The type of Elastic Graphics accelerator.
sourcepub fn set_elastic_gpu_type(self, input: Option<String>) -> Self
pub fn set_elastic_gpu_type(self, input: Option<String>) -> Self
The type of Elastic Graphics accelerator.
sourcepub fn get_elastic_gpu_type(&self) -> &Option<String>
pub fn get_elastic_gpu_type(&self) -> &Option<String>
The type of Elastic Graphics accelerator.
sourcepub fn elastic_gpu_health(self, input: ElasticGpuHealth) -> Self
pub fn elastic_gpu_health(self, input: ElasticGpuHealth) -> Self
The status of the Elastic Graphics accelerator.
sourcepub fn set_elastic_gpu_health(self, input: Option<ElasticGpuHealth>) -> Self
pub fn set_elastic_gpu_health(self, input: Option<ElasticGpuHealth>) -> Self
The status of the Elastic Graphics accelerator.
sourcepub fn get_elastic_gpu_health(&self) -> &Option<ElasticGpuHealth>
pub fn get_elastic_gpu_health(&self) -> &Option<ElasticGpuHealth>
The status of the Elastic Graphics accelerator.
sourcepub fn elastic_gpu_state(self, input: ElasticGpuState) -> Self
pub fn elastic_gpu_state(self, input: ElasticGpuState) -> Self
The state of the Elastic Graphics accelerator.
sourcepub fn set_elastic_gpu_state(self, input: Option<ElasticGpuState>) -> Self
pub fn set_elastic_gpu_state(self, input: Option<ElasticGpuState>) -> Self
The state of the Elastic Graphics accelerator.
sourcepub fn get_elastic_gpu_state(&self) -> &Option<ElasticGpuState>
pub fn get_elastic_gpu_state(&self) -> &Option<ElasticGpuState>
The state of the Elastic Graphics accelerator.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The ID of the instance to which the Elastic Graphics accelerator is attached.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The ID of the instance to which the Elastic Graphics accelerator is attached.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The ID of the instance to which the Elastic Graphics accelerator is attached.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags assigned to the Elastic Graphics accelerator.
The tags assigned to the Elastic Graphics accelerator.
The tags assigned to the Elastic Graphics accelerator.
sourcepub fn build(self) -> ElasticGpus
pub fn build(self) -> ElasticGpus
Consumes the builder and constructs a ElasticGpus
.
Trait Implementations§
source§impl Clone for ElasticGpusBuilder
impl Clone for ElasticGpusBuilder
source§fn clone(&self) -> ElasticGpusBuilder
fn clone(&self) -> ElasticGpusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ElasticGpusBuilder
impl Debug for ElasticGpusBuilder
source§impl Default for ElasticGpusBuilder
impl Default for ElasticGpusBuilder
source§fn default() -> ElasticGpusBuilder
fn default() -> ElasticGpusBuilder
source§impl PartialEq for ElasticGpusBuilder
impl PartialEq for ElasticGpusBuilder
source§fn eq(&self, other: &ElasticGpusBuilder) -> bool
fn eq(&self, other: &ElasticGpusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ElasticGpusBuilder
Auto Trait Implementations§
impl Freeze for ElasticGpusBuilder
impl RefUnwindSafe for ElasticGpusBuilder
impl Send for ElasticGpusBuilder
impl Sync for ElasticGpusBuilder
impl Unpin for ElasticGpusBuilder
impl UnwindSafe for ElasticGpusBuilder
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