Struct aws_sdk_directory::model::radius_settings::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }Expand description
A builder for RadiusSettings
Implementations
sourceimpl Builder
impl Builder
sourcepub fn radius_servers(self, input: impl Into<String>) -> Self
pub fn radius_servers(self, input: impl Into<String>) -> Self
Appends an item to radius_servers.
To override the contents of this collection use set_radius_servers.
An array of strings that contains the fully qualified domain name (FQDN) or IP addresses of the RADIUS server endpoints, or the FQDN or IP addresses of your RADIUS server load balancer.
sourcepub fn set_radius_servers(self, input: Option<Vec<String>>) -> Self
pub fn set_radius_servers(self, input: Option<Vec<String>>) -> Self
An array of strings that contains the fully qualified domain name (FQDN) or IP addresses of the RADIUS server endpoints, or the FQDN or IP addresses of your RADIUS server load balancer.
sourcepub fn radius_port(self, input: i32) -> Self
pub fn radius_port(self, input: i32) -> Self
The port that your RADIUS server is using for communications. Your self-managed network must allow inbound traffic over this port from the Directory Service servers.
sourcepub fn set_radius_port(self, input: Option<i32>) -> Self
pub fn set_radius_port(self, input: Option<i32>) -> Self
The port that your RADIUS server is using for communications. Your self-managed network must allow inbound traffic over this port from the Directory Service servers.
sourcepub fn radius_timeout(self, input: i32) -> Self
pub fn radius_timeout(self, input: i32) -> Self
The amount of time, in seconds, to wait for the RADIUS server to respond.
sourcepub fn set_radius_timeout(self, input: Option<i32>) -> Self
pub fn set_radius_timeout(self, input: Option<i32>) -> Self
The amount of time, in seconds, to wait for the RADIUS server to respond.
sourcepub fn radius_retries(self, input: i32) -> Self
pub fn radius_retries(self, input: i32) -> Self
The maximum number of times that communication with the RADIUS server is attempted.
sourcepub fn set_radius_retries(self, input: Option<i32>) -> Self
pub fn set_radius_retries(self, input: Option<i32>) -> Self
The maximum number of times that communication with the RADIUS server is attempted.
Required for enabling RADIUS on the directory.
Required for enabling RADIUS on the directory.
sourcepub fn authentication_protocol(
self,
input: RadiusAuthenticationProtocol
) -> Self
pub fn authentication_protocol(
self,
input: RadiusAuthenticationProtocol
) -> Self
The protocol specified for your RADIUS endpoints.
sourcepub fn set_authentication_protocol(
self,
input: Option<RadiusAuthenticationProtocol>
) -> Self
pub fn set_authentication_protocol(
self,
input: Option<RadiusAuthenticationProtocol>
) -> Self
The protocol specified for your RADIUS endpoints.
sourcepub fn display_label(self, input: impl Into<String>) -> Self
pub fn display_label(self, input: impl Into<String>) -> Self
Not currently used.
sourcepub fn set_display_label(self, input: Option<String>) -> Self
pub fn set_display_label(self, input: Option<String>) -> Self
Not currently used.
sourcepub fn use_same_username(self, input: bool) -> Self
pub fn use_same_username(self, input: bool) -> Self
Not currently used.
sourcepub fn set_use_same_username(self, input: Option<bool>) -> Self
pub fn set_use_same_username(self, input: Option<bool>) -> Self
Not currently used.
sourcepub fn build(self) -> RadiusSettings
pub fn build(self) -> RadiusSettings
Consumes the builder and constructs a RadiusSettings
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more