#[non_exhaustive]pub struct DomainEndpointOptionsBuilder { /* private fields */ }Expand description
A builder for DomainEndpointOptions.
Implementations§
source§impl DomainEndpointOptionsBuilder
impl DomainEndpointOptionsBuilder
sourcepub fn enforce_https(self, input: bool) -> Self
pub fn enforce_https(self, input: bool) -> Self
Whether the domain is HTTPS only enabled.
sourcepub fn set_enforce_https(self, input: Option<bool>) -> Self
pub fn set_enforce_https(self, input: Option<bool>) -> Self
Whether the domain is HTTPS only enabled.
sourcepub fn get_enforce_https(&self) -> &Option<bool>
pub fn get_enforce_https(&self) -> &Option<bool>
Whether the domain is HTTPS only enabled.
sourcepub fn tls_security_policy(self, input: TlsSecurityPolicy) -> Self
pub fn tls_security_policy(self, input: TlsSecurityPolicy) -> Self
The minimum required TLS version
sourcepub fn set_tls_security_policy(self, input: Option<TlsSecurityPolicy>) -> Self
pub fn set_tls_security_policy(self, input: Option<TlsSecurityPolicy>) -> Self
The minimum required TLS version
sourcepub fn get_tls_security_policy(&self) -> &Option<TlsSecurityPolicy>
pub fn get_tls_security_policy(&self) -> &Option<TlsSecurityPolicy>
The minimum required TLS version
sourcepub fn build(self) -> DomainEndpointOptions
pub fn build(self) -> DomainEndpointOptions
Consumes the builder and constructs a DomainEndpointOptions.
Trait Implementations§
source§impl Clone for DomainEndpointOptionsBuilder
impl Clone for DomainEndpointOptionsBuilder
source§fn clone(&self) -> DomainEndpointOptionsBuilder
fn clone(&self) -> DomainEndpointOptionsBuilder
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 DomainEndpointOptionsBuilder
impl Debug for DomainEndpointOptionsBuilder
source§impl Default for DomainEndpointOptionsBuilder
impl Default for DomainEndpointOptionsBuilder
source§fn default() -> DomainEndpointOptionsBuilder
fn default() -> DomainEndpointOptionsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DomainEndpointOptionsBuilder
impl PartialEq for DomainEndpointOptionsBuilder
source§fn eq(&self, other: &DomainEndpointOptionsBuilder) -> bool
fn eq(&self, other: &DomainEndpointOptionsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DomainEndpointOptionsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DomainEndpointOptionsBuilder
impl Send for DomainEndpointOptionsBuilder
impl Sync for DomainEndpointOptionsBuilder
impl Unpin for DomainEndpointOptionsBuilder
impl UnwindSafe for DomainEndpointOptionsBuilder
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.