Class IngressSpec.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.plus24.k8s.IngressSpec
IngressSpec.Builder, IngressSpec.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(IngressSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by theIngressSpec.Builder
.protected
Jsii$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()
boolean
equals(Object o)
IngressBackend
getDefaultBackend()
DefaultBackend is the backend that should handle requests that don't match any rule.String
getIngressClassName()
IngressClassName is the name of the IngressClass cluster resource.List<IngressRule>
getRules()
A list of host rules used to configure the Ingress.List<IngressTls>
getTls()
TLS configuration.int
hashCode()
-
-
-
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:IngressSpec
DefaultBackend 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:
getDefaultBackend
in interfaceIngressSpec
-
getIngressClassName
public final String getIngressClassName()
Description copied from interface:IngressSpec
IngressClassName is the name of the IngressClass cluster resource.The associated IngressClass defines which controller will implement the resource. This replaces the deprecated
kubernetes.io/ingress.class
annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.- Specified by:
getIngressClassName
in interfaceIngressSpec
-
getRules
public final List<IngressRule> getRules()
Description copied from interface:IngressSpec
A 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:
getRules
in interfaceIngressSpec
-
getTls
public final List<IngressTls> getTls()
Description copied from interface:IngressSpec
TLS 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:
getTls
in interfaceIngressSpec
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-