pub struct Builder { /* private fields */ }
Expand description
A builder for VirtualGatewayTlsValidationContext
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn trust(self, input: VirtualGatewayTlsValidationContextTrust) -> Self
pub fn trust(self, input: VirtualGatewayTlsValidationContextTrust) -> Self
A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.
sourcepub fn set_trust(
self,
input: Option<VirtualGatewayTlsValidationContextTrust>
) -> Self
pub fn set_trust(
self,
input: Option<VirtualGatewayTlsValidationContextTrust>
) -> Self
A reference to where to retrieve the trust chain when validating a peer’s Transport Layer Security (TLS) certificate.
sourcepub fn subject_alternative_names(self, input: SubjectAlternativeNames) -> Self
pub fn subject_alternative_names(self, input: SubjectAlternativeNames) -> Self
A reference to an object that represents the SANs for a virtual gateway's listener's Transport Layer Security (TLS) validation context.
sourcepub fn set_subject_alternative_names(
self,
input: Option<SubjectAlternativeNames>
) -> Self
pub fn set_subject_alternative_names(
self,
input: Option<SubjectAlternativeNames>
) -> Self
A reference to an object that represents the SANs for a virtual gateway's listener's Transport Layer Security (TLS) validation context.
sourcepub fn build(self) -> VirtualGatewayTlsValidationContext
pub fn build(self) -> VirtualGatewayTlsValidationContext
Consumes the builder and constructs a VirtualGatewayTlsValidationContext
.