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
source§fn eq(&self, other: &ConnectionDetailsBuilder) -> bool
fn eq(&self, other: &ConnectionDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionDetailsBuilder
Auto Trait Implementations§
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> 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>
Creates a shared type from an unshared type.