ca.wheatstalk.cdkecskeycloak.AddTargetPortPublisher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk-ecs-keycloak Show documentation
Show all versions of cdk-ecs-keycloak Show documentation
@wheatstalk/cdk-ecs-keycloak
package ca.wheatstalk.cdkecskeycloak;
/**
* Publishes a container port common `listener.addTargets` props.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.29.0 (build 41df200)", date = "2021-04-28T04:27:48.328Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = ca.wheatstalk.cdkecskeycloak.$Module.class, fqn = "@wheatstalk/cdk-ecs-keycloak.AddTargetPortPublisher")
public class AddTargetPortPublisher extends software.amazon.jsii.JsiiObject implements ca.wheatstalk.cdkecskeycloak.IPortPublisher {
protected AddTargetPortPublisher(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected AddTargetPortPublisher(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param listenerInfo This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public AddTargetPortPublisher(final @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.AddTargetPortPublisherProps listenerInfo) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(listenerInfo, "listenerInfo is required") });
}
/**
* A fluent builder for {@link ca.wheatstalk.cdkecskeycloak.AddTargetPortPublisher}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static final class Builder implements software.amazon.jsii.Builder {
/**
* @return a new instance of {@link Builder}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static Builder create() {
return new Builder();
}
private final ca.wheatstalk.cdkecskeycloak.AddTargetPortPublisherProps.Builder listenerInfo;
private Builder() {
this.listenerInfo = new ca.wheatstalk.cdkecskeycloak.AddTargetPortPublisherProps.Builder();
}
/**
* @return {@code this}
* @param listener This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder listener(final software.amazon.awscdk.services.elasticloadbalancingv2.IApplicationListener listener) {
this.listenerInfo.listener(listener);
return this;
}
/**
* @return {@code this}
* @param conditions This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder conditions(final java.util.List extends software.amazon.awscdk.services.elasticloadbalancingv2.ListenerCondition> conditions) {
this.listenerInfo.conditions(conditions);
return this;
}
/**
* @return {@code this}
* @param priority This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public Builder priority(final java.lang.Number priority) {
this.listenerInfo.priority(priority);
return this;
}
/**
* @returns a newly built instance of {@link ca.wheatstalk.cdkecskeycloak.AddTargetPortPublisher}.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public ca.wheatstalk.cdkecskeycloak.AddTargetPortPublisher build() {
return new ca.wheatstalk.cdkecskeycloak.AddTargetPortPublisher(
this.listenerInfo.build()
);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy