#[non_exhaustive]pub struct VirtualGatewayListenerTlsFileCertificateBuilder { /* private fields */ }
Expand description
A builder for VirtualGatewayListenerTlsFileCertificate
.
Implementations§
source§impl VirtualGatewayListenerTlsFileCertificateBuilder
impl VirtualGatewayListenerTlsFileCertificateBuilder
sourcepub fn certificate_chain(self, input: impl Into<String>) -> Self
pub fn certificate_chain(self, input: impl Into<String>) -> Self
The certificate chain for the certificate.
This field is required.sourcepub fn set_certificate_chain(self, input: Option<String>) -> Self
pub fn set_certificate_chain(self, input: Option<String>) -> Self
The certificate chain for the certificate.
sourcepub fn get_certificate_chain(&self) -> &Option<String>
pub fn get_certificate_chain(&self) -> &Option<String>
The certificate chain for the certificate.
sourcepub fn private_key(self, input: impl Into<String>) -> Self
pub fn private_key(self, input: impl Into<String>) -> Self
The private key for a certificate stored on the file system of the mesh endpoint that the proxy is running on.
This field is required.sourcepub fn set_private_key(self, input: Option<String>) -> Self
pub fn set_private_key(self, input: Option<String>) -> Self
The private key for a certificate stored on the file system of the mesh endpoint that the proxy is running on.
sourcepub fn get_private_key(&self) -> &Option<String>
pub fn get_private_key(&self) -> &Option<String>
The private key for a certificate stored on the file system of the mesh endpoint that the proxy is running on.
sourcepub fn build(
self
) -> Result<VirtualGatewayListenerTlsFileCertificate, BuildError>
pub fn build( self ) -> Result<VirtualGatewayListenerTlsFileCertificate, BuildError>
Consumes the builder and constructs a VirtualGatewayListenerTlsFileCertificate
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VirtualGatewayListenerTlsFileCertificateBuilder
impl Clone for VirtualGatewayListenerTlsFileCertificateBuilder
source§fn clone(&self) -> VirtualGatewayListenerTlsFileCertificateBuilder
fn clone(&self) -> VirtualGatewayListenerTlsFileCertificateBuilder
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 Default for VirtualGatewayListenerTlsFileCertificateBuilder
impl Default for VirtualGatewayListenerTlsFileCertificateBuilder
source§fn default() -> VirtualGatewayListenerTlsFileCertificateBuilder
fn default() -> VirtualGatewayListenerTlsFileCertificateBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VirtualGatewayListenerTlsFileCertificateBuilder
impl PartialEq for VirtualGatewayListenerTlsFileCertificateBuilder
source§fn eq(&self, other: &VirtualGatewayListenerTlsFileCertificateBuilder) -> bool
fn eq(&self, other: &VirtualGatewayListenerTlsFileCertificateBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VirtualGatewayListenerTlsFileCertificateBuilder
Auto Trait Implementations§
impl Freeze for VirtualGatewayListenerTlsFileCertificateBuilder
impl RefUnwindSafe for VirtualGatewayListenerTlsFileCertificateBuilder
impl Send for VirtualGatewayListenerTlsFileCertificateBuilder
impl Sync for VirtualGatewayListenerTlsFileCertificateBuilder
impl Unpin for VirtualGatewayListenerTlsFileCertificateBuilder
impl UnwindSafe for VirtualGatewayListenerTlsFileCertificateBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.