Struct aws_sdk_ec2::types::builders::MediaDeviceInfoBuilder
source · #[non_exhaustive]pub struct MediaDeviceInfoBuilder { /* private fields */ }
Expand description
A builder for MediaDeviceInfo
.
Implementations§
source§impl MediaDeviceInfoBuilder
impl MediaDeviceInfoBuilder
sourcepub fn set_count(self, input: Option<i32>) -> Self
pub fn set_count(self, input: Option<i32>) -> Self
The number of media accelerators for the instance type.
sourcepub fn get_count(&self) -> &Option<i32>
pub fn get_count(&self) -> &Option<i32>
The number of media accelerators for the instance type.
sourcepub fn manufacturer(self, input: impl Into<String>) -> Self
pub fn manufacturer(self, input: impl Into<String>) -> Self
The manufacturer of the media accelerator.
sourcepub fn set_manufacturer(self, input: Option<String>) -> Self
pub fn set_manufacturer(self, input: Option<String>) -> Self
The manufacturer of the media accelerator.
sourcepub fn get_manufacturer(&self) -> &Option<String>
pub fn get_manufacturer(&self) -> &Option<String>
The manufacturer of the media accelerator.
sourcepub fn memory_info(self, input: MediaDeviceMemoryInfo) -> Self
pub fn memory_info(self, input: MediaDeviceMemoryInfo) -> Self
Describes the memory available to the media accelerator.
sourcepub fn set_memory_info(self, input: Option<MediaDeviceMemoryInfo>) -> Self
pub fn set_memory_info(self, input: Option<MediaDeviceMemoryInfo>) -> Self
Describes the memory available to the media accelerator.
sourcepub fn get_memory_info(&self) -> &Option<MediaDeviceMemoryInfo>
pub fn get_memory_info(&self) -> &Option<MediaDeviceMemoryInfo>
Describes the memory available to the media accelerator.
sourcepub fn build(self) -> MediaDeviceInfo
pub fn build(self) -> MediaDeviceInfo
Consumes the builder and constructs a MediaDeviceInfo
.
Trait Implementations§
source§impl Clone for MediaDeviceInfoBuilder
impl Clone for MediaDeviceInfoBuilder
source§fn clone(&self) -> MediaDeviceInfoBuilder
fn clone(&self) -> MediaDeviceInfoBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MediaDeviceInfoBuilder
impl Debug for MediaDeviceInfoBuilder
source§impl Default for MediaDeviceInfoBuilder
impl Default for MediaDeviceInfoBuilder
source§fn default() -> MediaDeviceInfoBuilder
fn default() -> MediaDeviceInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MediaDeviceInfoBuilder
impl PartialEq for MediaDeviceInfoBuilder
source§fn eq(&self, other: &MediaDeviceInfoBuilder) -> bool
fn eq(&self, other: &MediaDeviceInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MediaDeviceInfoBuilder
Auto Trait Implementations§
impl Freeze for MediaDeviceInfoBuilder
impl RefUnwindSafe for MediaDeviceInfoBuilder
impl Send for MediaDeviceInfoBuilder
impl Sync for MediaDeviceInfoBuilder
impl Unpin for MediaDeviceInfoBuilder
impl UnwindSafe for MediaDeviceInfoBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.