Class V1IngressTLS
java.lang.Object
io.kubernetes.client.openapi.models.V1IngressTLS
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1IngressTLS
extends Object
IngressTLS describes the transport layer security associated with an ingress.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHostsItem
(String hostsItem) boolean
static V1IngressTLS
Create an instance of V1IngressTLS given an JSON stringgetHosts()
hosts is a list of hosts included in the TLS certificate.secretName is the name of the secret used to terminate TLS traffic on port 443.int
hashCode()
secretName
(String secretName) void
void
setSecretName
(String secretName) toJson()
Convert an instance of V1IngressTLS to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_HOSTS
- See Also:
-
SERIALIZED_NAME_SECRET_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1IngressTLS
public V1IngressTLS()
-
-
Method Details
-
hosts
-
addHostsItem
-
getHosts
hosts is 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.- Returns:
- hosts
-
setHosts
-
secretName
-
getSecretName
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:
- secretName
-
setSecretName
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1IngressTLS
-
fromJson
Create an instance of V1IngressTLS given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1IngressTLS
- Throws:
IOException
- if the JSON string is invalid with respect to V1IngressTLS
-
toJson
Convert an instance of V1IngressTLS to an JSON string- Returns:
- JSON string
-