Struct openstack_sdk::api::load_balancer::v2::pool::set::PoolBuilder
source · pub struct PoolBuilder<'a> { /* private fields */ }Expand description
Builder for Pool.
Implementations§
source§impl<'a> PoolBuilder<'a>
impl<'a> PoolBuilder<'a>
sourcepub fn admin_state_up(&mut self, value: bool) -> &mut Self
pub fn admin_state_up(&mut self, value: bool) -> &mut Self
The administrative state of the resource, which is up (true) or down
(false). Default is true.
sourcepub fn alpn_protocols<VALUE: Into<Vec<Cow<'a, str>>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn alpn_protocols<VALUE: Into<Vec<Cow<'a, str>>>>( &mut self, value: VALUE, ) -> &mut Self
A list of ALPN protocols. Available protocols: http/1.0, http/1.1, h2
New in version 2.24
sourcepub fn ca_tls_container_ref<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn ca_tls_container_ref<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
The reference of the
key manager service
secret containing a PEM format CA certificate bundle for tls_enabled
pools.
New in version 2.8
sourcepub fn crl_container_ref<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn crl_container_ref<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
The reference of the
key manager service
secret containing a PEM format CA revocation list file for
tls_enabled pools.
sourcepub fn description<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn description<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
A human-readable description for the resource.
sourcepub fn lb_algorithm(&mut self, value: LbAlgorithm) -> &mut Self
pub fn lb_algorithm(&mut self, value: LbAlgorithm) -> &mut Self
The load balancing algorithm for the pool. One of LEAST_CONNECTIONS,
ROUND_ROBIN, or SOURCE_IP.
sourcepub fn name<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
Human-readable name of the resource.
sourcepub fn session_persistence<VALUE: Into<SessionPersistence<'a>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn session_persistence<VALUE: Into<SessionPersistence<'a>>>( &mut self, value: VALUE, ) -> &mut Self
A JSON object specifying the session persistence for the pool or null
for no session persistence. See
Pool Session Persistence. Default is null.
A list of simple strings assigned to the resource.
New in version 2.5
sourcepub fn tls_ciphers<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn tls_ciphers<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
List of ciphers in OpenSSL format (colon-separated). See https://www.openssl.org/docs/man1.1.1/man1/ciphers.html
New in version 2.15
sourcepub fn tls_container_ref<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn tls_container_ref<VALUE: Into<Cow<'a, str>>>( &mut self, value: VALUE, ) -> &mut Self
The reference to the
key manager service
secret containing a PKCS12 format certificate/key bundle for
tls_enabled pools for TLS client authentication to the member
servers.
New in version 2.8
sourcepub fn tls_enabled(&mut self, value: bool) -> &mut Self
pub fn tls_enabled(&mut self, value: bool) -> &mut Self
When true connections to backend member servers will use TLS
encryption. Default is false.
New in version 2.8
Trait Implementations§
source§impl<'a> Clone for PoolBuilder<'a>
impl<'a> Clone for PoolBuilder<'a>
source§fn clone(&self) -> PoolBuilder<'a>
fn clone(&self) -> PoolBuilder<'a>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for PoolBuilder<'a>
impl<'a> RefUnwindSafe for PoolBuilder<'a>
impl<'a> Send for PoolBuilder<'a>
impl<'a> Sync for PoolBuilder<'a>
impl<'a> Unpin for PoolBuilder<'a>
impl<'a> UnwindSafe for PoolBuilder<'a>
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
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)
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>
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>
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 more