Struct aws_sdk_ec2::types::builders::PciIdBuilder
source · #[non_exhaustive]pub struct PciIdBuilder { /* private fields */ }
Expand description
A builder for PciId
.
Implementations§
source§impl PciIdBuilder
impl PciIdBuilder
sourcepub fn set_device_id(self, input: Option<String>) -> Self
pub fn set_device_id(self, input: Option<String>) -> Self
The ID of the device.
sourcepub fn get_device_id(&self) -> &Option<String>
pub fn get_device_id(&self) -> &Option<String>
The ID of the device.
sourcepub fn set_vendor_id(self, input: Option<String>) -> Self
pub fn set_vendor_id(self, input: Option<String>) -> Self
The ID of the vendor.
sourcepub fn get_vendor_id(&self) -> &Option<String>
pub fn get_vendor_id(&self) -> &Option<String>
The ID of the vendor.
sourcepub fn subsystem_id(self, input: impl Into<String>) -> Self
pub fn subsystem_id(self, input: impl Into<String>) -> Self
The ID of the subsystem.
sourcepub fn set_subsystem_id(self, input: Option<String>) -> Self
pub fn set_subsystem_id(self, input: Option<String>) -> Self
The ID of the subsystem.
sourcepub fn get_subsystem_id(&self) -> &Option<String>
pub fn get_subsystem_id(&self) -> &Option<String>
The ID of the subsystem.
sourcepub fn subsystem_vendor_id(self, input: impl Into<String>) -> Self
pub fn subsystem_vendor_id(self, input: impl Into<String>) -> Self
The ID of the vendor for the subsystem.
sourcepub fn set_subsystem_vendor_id(self, input: Option<String>) -> Self
pub fn set_subsystem_vendor_id(self, input: Option<String>) -> Self
The ID of the vendor for the subsystem.
sourcepub fn get_subsystem_vendor_id(&self) -> &Option<String>
pub fn get_subsystem_vendor_id(&self) -> &Option<String>
The ID of the vendor for the subsystem.
Trait Implementations§
source§impl Clone for PciIdBuilder
impl Clone for PciIdBuilder
source§fn clone(&self) -> PciIdBuilder
fn clone(&self) -> PciIdBuilder
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 PciIdBuilder
impl Debug for PciIdBuilder
source§impl Default for PciIdBuilder
impl Default for PciIdBuilder
source§fn default() -> PciIdBuilder
fn default() -> PciIdBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PciIdBuilder
impl PartialEq for PciIdBuilder
source§fn eq(&self, other: &PciIdBuilder) -> bool
fn eq(&self, other: &PciIdBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PciIdBuilder
Auto Trait Implementations§
impl Freeze for PciIdBuilder
impl RefUnwindSafe for PciIdBuilder
impl Send for PciIdBuilder
impl Sync for PciIdBuilder
impl Unpin for PciIdBuilder
impl UnwindSafe for PciIdBuilder
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.