Class IngressTLS
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.extensions.v1beta1.IngressTLS
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class IngressTLS extends java.lang.Object implements com.marcnuri.yakc.model.Model
IngressTLS describes the transport layer security associated with an Ingress.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IngressTLS.Builder
-
Constructor Summary
Constructors Constructor Description IngressTLS()
IngressTLS(java.util.List<java.lang.String> hosts, java.lang.String secretName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IngressTLS.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.util.List<java.lang.String>
getHosts()
Hosts are a list of hosts included in the TLS certificate.java.lang.String
getSecretName()
SecretName is the name of the secret used to terminate SSL traffic on 443.int
hashCode()
void
setHosts(java.util.List<java.lang.String> hosts)
Hosts are a list of hosts included in the TLS certificate.void
setSecretName(java.lang.String secretName)
SecretName is the name of the secret used to terminate SSL traffic on 443.IngressTLS.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static IngressTLS.Builder builder()
-
toBuilder
public IngressTLS.Builder toBuilder()
-
getHosts
public java.util.List<java.lang.String> getHosts()
Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
-
getSecretName
public java.lang.String getSecretName()
SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL 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.
-
setHosts
public void setHosts(java.util.List<java.lang.String> hosts)
Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
-
setSecretName
public void setSecretName(java.lang.String secretName)
SecretName is the name of the secret used to terminate SSL traffic on 443. Field is left optional to allow SSL 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.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-