#[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 get_device_serial_number(&self) -> &Option<String>
pub fn get_device_serial_number(&self) -> &Option<String>
The serial number of the dongle.
sourcepub fn asset_id(self, input: impl Into<String>) -> Self
pub fn asset_id(self, input: impl Into<String>) -> Self
The ID of the Outpost server.
This field is required.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 get_asset_id(&self) -> &Option<String>
pub fn get_asset_id(&self) -> &Option<String>
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.
This field is required.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 get_client_public_key(&self) -> &Option<String>
pub fn get_client_public_key(&self) -> &Option<String>
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.
This field is required.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 get_network_interface_device_index(&self) -> &Option<i32>
pub fn get_network_interface_device_index(&self) -> &Option<i32>
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
.
source§impl StartConnectionInputBuilder
impl StartConnectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<StartConnectionOutput, SdkError<StartConnectionError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<StartConnectionOutput, SdkError<StartConnectionError, HttpResponse>>
Sends a request with this input using the given client.
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 for StartConnectionInputBuilder
impl PartialEq 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 Freeze for StartConnectionInputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.