#[non_exhaustive]pub struct StartConnectionInputBuilder { /* private fields */ }
Expand description
A builder for StartConnectionInput
.
Implementations§
source§impl StartConnectionInputBuilder
impl StartConnectionInputBuilder
sourcepub fn device_serial_number(self, input: impl Into<String>) -> Self
pub fn device_serial_number(self, input: impl Into<String>) -> Self
The serial number of the dongle.
sourcepub fn set_device_serial_number(self, input: Option<String>) -> Self
pub fn set_device_serial_number(self, input: Option<String>) -> Self
The serial number of the dongle.
sourcepub fn set_asset_id(self, input: Option<String>) -> Self
pub fn set_asset_id(self, input: Option<String>) -> Self
The ID of the Outpost server.
sourcepub fn client_public_key(self, input: impl Into<String>) -> Self
pub fn client_public_key(self, input: impl Into<String>) -> Self
The public key of the client.
sourcepub fn set_client_public_key(self, input: Option<String>) -> Self
pub fn set_client_public_key(self, input: Option<String>) -> Self
The public key of the client.
sourcepub fn network_interface_device_index(self, input: i32) -> Self
pub fn network_interface_device_index(self, input: i32) -> Self
The device index of the network interface on the Outpost server.
sourcepub fn set_network_interface_device_index(self, input: Option<i32>) -> Self
pub fn set_network_interface_device_index(self, input: Option<i32>) -> Self
The device index of the network interface on the Outpost server.
sourcepub fn build(self) -> Result<StartConnectionInput, BuildError>
pub fn build(self) -> Result<StartConnectionInput, BuildError>
Consumes the builder and constructs a StartConnectionInput
.
Trait Implementations§
source§impl Clone for StartConnectionInputBuilder
impl Clone for StartConnectionInputBuilder
source§fn clone(&self) -> StartConnectionInputBuilder
fn clone(&self) -> StartConnectionInputBuilder
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 StartConnectionInputBuilder
impl Debug for StartConnectionInputBuilder
source§impl Default for StartConnectionInputBuilder
impl Default for StartConnectionInputBuilder
source§fn default() -> StartConnectionInputBuilder
fn default() -> StartConnectionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<StartConnectionInputBuilder> for StartConnectionInputBuilder
impl PartialEq<StartConnectionInputBuilder> for StartConnectionInputBuilder
source§fn eq(&self, other: &StartConnectionInputBuilder) -> bool
fn eq(&self, other: &StartConnectionInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartConnectionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for StartConnectionInputBuilder
impl Send for StartConnectionInputBuilder
impl Sync for StartConnectionInputBuilder
impl Unpin for StartConnectionInputBuilder
impl UnwindSafe for StartConnectionInputBuilder
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