Class IngressSpec.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.IngressSpec.Jsii$Proxy
-
- All Implemented Interfaces:
IngressSpec,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- IngressSpec
@Stability(Stable) @Internal public static final class IngressSpec.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IngressSpec
An implementation forIngressSpec
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.IngressSpec
IngressSpec.Builder, IngressSpec.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(IngressSpec.Builder builder)Constructor that initializes the object based on literal property values passed by theIngressSpec.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)IngressBackendgetDefaultBackend()DefaultBackend is the backend that should handle requests that don't match any rule.StringgetIngressClassName()IngressClassName is the name of an IngressClass cluster resource.List<IngressRule>getRules()A list of host rules used to configure the Ingress.List<IngressTls>getTls()TLS configuration.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(IngressSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by theIngressSpec.Builder.
-
-
Method Detail
-
getDefaultBackend
public final IngressBackend getDefaultBackend()
Description copied from interface:IngressSpecDefaultBackend is the backend that should handle requests that don't match any rule.If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.
- Specified by:
getDefaultBackendin interfaceIngressSpec
-
getIngressClassName
public final String getIngressClassName()
Description copied from interface:IngressSpecIngressClassName is the name of an IngressClass cluster resource.Ingress controller implementations use this field to know whether they should be serving this Ingress resource, by a transitive connection (controller -> IngressClass -> Ingress resource). Although the
kubernetes.io/ingress.classannotation (simple constant name) was never formally defined, it was widely supported by Ingress controllers to create a direct binding between Ingress controller and Ingress resources. Newly created Ingress resources should prefer using the field. However, even though the annotation is officially deprecated, for backwards compatibility reasons, ingress controllers should still honor that annotation if present.- Specified by:
getIngressClassNamein interfaceIngressSpec
-
getRules
public final List<IngressRule> getRules()
Description copied from interface:IngressSpecA list of host rules used to configure the Ingress.If unspecified, or no rule matches, all traffic is sent to the default backend.
- Specified by:
getRulesin interfaceIngressSpec
-
getTls
public final List<IngressTls> getTls()
Description copied from interface:IngressSpecTLS configuration.Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.
- Specified by:
getTlsin interfaceIngressSpec
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-