Struct aws_sdk_ec2::types::builders::DeviceOptionsBuilder
source · #[non_exhaustive]pub struct DeviceOptionsBuilder { /* private fields */ }
Expand description
A builder for DeviceOptions
.
Implementations§
source§impl DeviceOptionsBuilder
impl DeviceOptionsBuilder
sourcepub fn tenant_id(self, input: impl Into<String>) -> Self
pub fn tenant_id(self, input: impl Into<String>) -> Self
The ID of the tenant application with the device-identity provider.
sourcepub fn set_tenant_id(self, input: Option<String>) -> Self
pub fn set_tenant_id(self, input: Option<String>) -> Self
The ID of the tenant application with the device-identity provider.
sourcepub fn get_tenant_id(&self) -> &Option<String>
pub fn get_tenant_id(&self) -> &Option<String>
The ID of the tenant application with the device-identity provider.
sourcepub fn build(self) -> DeviceOptions
pub fn build(self) -> DeviceOptions
Consumes the builder and constructs a DeviceOptions
.
Trait Implementations§
source§impl Clone for DeviceOptionsBuilder
impl Clone for DeviceOptionsBuilder
source§fn clone(&self) -> DeviceOptionsBuilder
fn clone(&self) -> DeviceOptionsBuilder
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 DeviceOptionsBuilder
impl Debug for DeviceOptionsBuilder
source§impl Default for DeviceOptionsBuilder
impl Default for DeviceOptionsBuilder
source§fn default() -> DeviceOptionsBuilder
fn default() -> DeviceOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DeviceOptionsBuilder> for DeviceOptionsBuilder
impl PartialEq<DeviceOptionsBuilder> for DeviceOptionsBuilder
source§fn eq(&self, other: &DeviceOptionsBuilder) -> bool
fn eq(&self, other: &DeviceOptionsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeviceOptionsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeviceOptionsBuilder
impl Send for DeviceOptionsBuilder
impl Sync for DeviceOptionsBuilder
impl Unpin for DeviceOptionsBuilder
impl UnwindSafe for DeviceOptionsBuilder
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