All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cdk8s.plus22.IngressBackend Maven / Gradle / Ivy

There is a newer version: 2.0.0-rc.158
Show newest version
package org.cdk8s.plus22;

/**
 * The backend for an ingress path.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.47.0 (build 86d2c33)", date = "2021-12-08T00:16:55.101Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = org.cdk8s.plus22.$Module.class, fqn = "cdk8s-plus-22.IngressBackend")
public class IngressBackend extends software.amazon.jsii.JsiiObject {

    protected IngressBackend(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected IngressBackend(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     * A Kubernetes `Service` to use as the backend for this path.
     * 

* @param service The service object. This parameter is required. * @param options */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus22.IngressBackend fromService(final @org.jetbrains.annotations.NotNull org.cdk8s.plus22.Service service, final @org.jetbrains.annotations.Nullable org.cdk8s.plus22.ServiceIngressBackendOptions options) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus22.IngressBackend.class, "fromService", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus22.IngressBackend.class), new Object[] { java.util.Objects.requireNonNull(service, "service is required"), options }); } /** * A Kubernetes `Service` to use as the backend for this path. *

* @param service The service object. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull org.cdk8s.plus22.IngressBackend fromService(final @org.jetbrains.annotations.NotNull org.cdk8s.plus22.Service service) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(org.cdk8s.plus22.IngressBackend.class, "fromService", software.amazon.jsii.NativeType.forClass(org.cdk8s.plus22.IngressBackend.class), new Object[] { java.util.Objects.requireNonNull(service, "service is required") }); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy