Struct aws_sdk_outposts::types::builders::ConnectionDetailsBuilder
source · #[non_exhaustive]pub struct ConnectionDetailsBuilder { /* private fields */ }
Expand description
A builder for ConnectionDetails
.
Implementations§
source§impl ConnectionDetailsBuilder
impl ConnectionDetailsBuilder
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 get_client_public_key(&self) -> &Option<String>
pub fn get_client_public_key(&self) -> &Option<String>
The public key of the client.
sourcepub fn server_public_key(self, input: impl Into<String>) -> Self
pub fn server_public_key(self, input: impl Into<String>) -> Self
The public key of the server.
sourcepub fn set_server_public_key(self, input: Option<String>) -> Self
pub fn set_server_public_key(self, input: Option<String>) -> Self
The public key of the server.
sourcepub fn get_server_public_key(&self) -> &Option<String>
pub fn get_server_public_key(&self) -> &Option<String>
The public key of the server.
sourcepub fn server_endpoint(self, input: impl Into<String>) -> Self
pub fn server_endpoint(self, input: impl Into<String>) -> Self
The endpoint for the server.
sourcepub fn set_server_endpoint(self, input: Option<String>) -> Self
pub fn set_server_endpoint(self, input: Option<String>) -> Self
The endpoint for the server.
sourcepub fn get_server_endpoint(&self) -> &Option<String>
pub fn get_server_endpoint(&self) -> &Option<String>
The endpoint for the server.
sourcepub fn client_tunnel_address(self, input: impl Into<String>) -> Self
pub fn client_tunnel_address(self, input: impl Into<String>) -> Self
The client tunnel address.
sourcepub fn set_client_tunnel_address(self, input: Option<String>) -> Self
pub fn set_client_tunnel_address(self, input: Option<String>) -> Self
The client tunnel address.
sourcepub fn get_client_tunnel_address(&self) -> &Option<String>
pub fn get_client_tunnel_address(&self) -> &Option<String>
The client tunnel address.
sourcepub fn server_tunnel_address(self, input: impl Into<String>) -> Self
pub fn server_tunnel_address(self, input: impl Into<String>) -> Self
The server tunnel address.
sourcepub fn set_server_tunnel_address(self, input: Option<String>) -> Self
pub fn set_server_tunnel_address(self, input: Option<String>) -> Self
The server tunnel address.
sourcepub fn get_server_tunnel_address(&self) -> &Option<String>
pub fn get_server_tunnel_address(&self) -> &Option<String>
The server tunnel address.
sourcepub fn allowed_ips(self, input: impl Into<String>) -> Self
pub fn allowed_ips(self, input: impl Into<String>) -> Self
Appends an item to allowed_ips
.
To override the contents of this collection use set_allowed_ips
.
The allowed IP addresses.
sourcepub fn set_allowed_ips(self, input: Option<Vec<String>>) -> Self
pub fn set_allowed_ips(self, input: Option<Vec<String>>) -> Self
The allowed IP addresses.
sourcepub fn get_allowed_ips(&self) -> &Option<Vec<String>>
pub fn get_allowed_ips(&self) -> &Option<Vec<String>>
The allowed IP addresses.
sourcepub fn build(self) -> ConnectionDetails
pub fn build(self) -> ConnectionDetails
Consumes the builder and constructs a ConnectionDetails
.
Trait Implementations§
source§impl Clone for ConnectionDetailsBuilder
impl Clone for ConnectionDetailsBuilder
source§fn clone(&self) -> ConnectionDetailsBuilder
fn clone(&self) -> ConnectionDetailsBuilder
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 ConnectionDetailsBuilder
impl Debug for ConnectionDetailsBuilder
source§impl Default for ConnectionDetailsBuilder
impl Default for ConnectionDetailsBuilder
source§fn default() -> ConnectionDetailsBuilder
fn default() -> ConnectionDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConnectionDetailsBuilder
impl PartialEq for ConnectionDetailsBuilder
impl StructuralPartialEq for ConnectionDetailsBuilder
Auto Trait Implementations§
impl Freeze for ConnectionDetailsBuilder
impl RefUnwindSafe for ConnectionDetailsBuilder
impl Send for ConnectionDetailsBuilder
impl Sync for ConnectionDetailsBuilder
impl Unpin for ConnectionDetailsBuilder
impl UnwindSafe for ConnectionDetailsBuilder
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.