#[non_exhaustive]pub struct ListenerTlsSdsCertificateBuilder { /* private fields */ }
Expand description
A builder for ListenerTlsSdsCertificate
.
Implementations§
source§impl ListenerTlsSdsCertificateBuilder
impl ListenerTlsSdsCertificateBuilder
sourcepub fn secret_name(self, input: impl Into<String>) -> Self
pub fn secret_name(self, input: impl Into<String>) -> Self
A reference to an object that represents the name of the secret requested from the Secret Discovery Service provider representing Transport Layer Security (TLS) materials like a certificate or certificate chain.
This field is required.sourcepub fn set_secret_name(self, input: Option<String>) -> Self
pub fn set_secret_name(self, input: Option<String>) -> Self
A reference to an object that represents the name of the secret requested from the Secret Discovery Service provider representing Transport Layer Security (TLS) materials like a certificate or certificate chain.
sourcepub fn get_secret_name(&self) -> &Option<String>
pub fn get_secret_name(&self) -> &Option<String>
A reference to an object that represents the name of the secret requested from the Secret Discovery Service provider representing Transport Layer Security (TLS) materials like a certificate or certificate chain.
sourcepub fn build(self) -> Result<ListenerTlsSdsCertificate, BuildError>
pub fn build(self) -> Result<ListenerTlsSdsCertificate, BuildError>
Consumes the builder and constructs a ListenerTlsSdsCertificate
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListenerTlsSdsCertificateBuilder
impl Clone for ListenerTlsSdsCertificateBuilder
source§fn clone(&self) -> ListenerTlsSdsCertificateBuilder
fn clone(&self) -> ListenerTlsSdsCertificateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListenerTlsSdsCertificateBuilder
impl Default for ListenerTlsSdsCertificateBuilder
source§fn default() -> ListenerTlsSdsCertificateBuilder
fn default() -> ListenerTlsSdsCertificateBuilder
source§impl PartialEq for ListenerTlsSdsCertificateBuilder
impl PartialEq for ListenerTlsSdsCertificateBuilder
source§fn eq(&self, other: &ListenerTlsSdsCertificateBuilder) -> bool
fn eq(&self, other: &ListenerTlsSdsCertificateBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListenerTlsSdsCertificateBuilder
Auto Trait Implementations§
impl Freeze for ListenerTlsSdsCertificateBuilder
impl RefUnwindSafe for ListenerTlsSdsCertificateBuilder
impl Send for ListenerTlsSdsCertificateBuilder
impl Sync for ListenerTlsSdsCertificateBuilder
impl Unpin for ListenerTlsSdsCertificateBuilder
impl UnwindSafe for ListenerTlsSdsCertificateBuilder
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> 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