Class IngressTLS.Builder
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.networking.v1beta1.IngressTLS.Builder
-
- Enclosing class:
- IngressTLS
public static class IngressTLS.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngressTLS.Builder
addToHosts(java.lang.String addToHosts)
IngressTLS
build()
IngressTLS.Builder
clearHosts()
IngressTLS.Builder
hosts(java.util.Collection<? extends java.lang.String> hosts)
IngressTLS.Builder
secretName(java.lang.String secretName)
SecretName is the name of the secret used to terminate TLS traffic on port 443.java.lang.String
toString()
-
-
-
Method Detail
-
addToHosts
public IngressTLS.Builder addToHosts(java.lang.String addToHosts)
-
hosts
public IngressTLS.Builder hosts(java.util.Collection<? extends java.lang.String> hosts)
-
clearHosts
public IngressTLS.Builder clearHosts()
-
secretName
public IngressTLS.Builder secretName(java.lang.String secretName)
SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.- Returns:
this
.
-
build
public IngressTLS build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-