Class HandlerSpecConnectionAuthenticationMutual.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.istio.config.v1alpha2.HandlerSpecConnectionAuthenticationMutual.Builder
-
- Enclosing class:
- HandlerSpecConnectionAuthenticationMutual
public static class HandlerSpecConnectionAuthenticationMutual.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HandlerSpecConnectionAuthenticationMutual
build()
HandlerSpecConnectionAuthenticationMutual.Builder
caCertificates(java.lang.String caCertificates)
HandlerSpecConnectionAuthenticationMutual.Builder
clientCertificate(java.lang.String clientCertificate)
The path to the file holding client certificate for mutual TLS.HandlerSpecConnectionAuthenticationMutual.Builder
privateKey(java.lang.String privateKey)
The path to the file holding the private key for mutual TLS.HandlerSpecConnectionAuthenticationMutual.Builder
serverName(java.lang.String serverName)
Used to configure mixer mutual TLS client to supply server name for SNI.java.lang.String
toString()
-
-
-
Method Detail
-
caCertificates
public HandlerSpecConnectionAuthenticationMutual.Builder caCertificates(java.lang.String caCertificates)
-
clientCertificate
public HandlerSpecConnectionAuthenticationMutual.Builder clientCertificate(java.lang.String clientCertificate)
The path to the file holding client certificate for mutual TLS.- Returns:
this
.
-
privateKey
public HandlerSpecConnectionAuthenticationMutual.Builder privateKey(java.lang.String privateKey)
The path to the file holding the private key for mutual TLS.- Returns:
this
.
-
serverName
public HandlerSpecConnectionAuthenticationMutual.Builder serverName(java.lang.String serverName)
Used to configure mixer mutual TLS client to supply server name for SNI.- Returns:
this
.
-
build
public HandlerSpecConnectionAuthenticationMutual build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-