Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package io.github.cdklabs.cdk.amazonmq;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.102.0 (build e354887)", date = "2024-08-08T22:30:31.760Z")
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.amazonmq.$Module.class, fqn = "@cdklabs/cdk-amazonmq.ActiveMqBrokerEndpoints")
@software.amazon.jsii.Jsii.Proxy(ActiveMqBrokerEndpoints.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface ActiveMqBrokerEndpoints extends software.amazon.jsii.JsiiSerializable {
/**
* (experimental) The AMQP endpoint of the broker.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.amazonmq.BrokerEndpoint getAmqp();
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.amazonmq.BrokerEndpoint getConsole();
/**
* (experimental) The MQTT endpoint of the broker.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.amazonmq.BrokerEndpoint getMqtt();
/**
* (experimental) The OpenWire endpoint of the broker.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.amazonmq.BrokerEndpoint getOpenWire();
/**
* (experimental) The STOMP endpoint of the broker.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.amazonmq.BrokerEndpoint getStomp();
/**
* (experimental) The WSS endpoint of the broker.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.amazonmq.BrokerEndpoint getWss();
/**
* @return a {@link Builder} of {@link ActiveMqBrokerEndpoints}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
static Builder builder() {
return new Builder();
}
/**
* A builder for {@link ActiveMqBrokerEndpoints}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public static final class Builder implements software.amazon.jsii.Builder {
io.github.cdklabs.cdk.amazonmq.BrokerEndpoint amqp;
io.github.cdklabs.cdk.amazonmq.BrokerEndpoint console;
io.github.cdklabs.cdk.amazonmq.BrokerEndpoint mqtt;
io.github.cdklabs.cdk.amazonmq.BrokerEndpoint openWire;
io.github.cdklabs.cdk.amazonmq.BrokerEndpoint stomp;
io.github.cdklabs.cdk.amazonmq.BrokerEndpoint wss;
/**
* Sets the value of {@link ActiveMqBrokerEndpoints#getAmqp}
* @param amqp The AMQP endpoint of the broker. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder amqp(io.github.cdklabs.cdk.amazonmq.BrokerEndpoint amqp) {
this.amqp = amqp;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerEndpoints#getConsole}
* @param console the value to be set. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder console(io.github.cdklabs.cdk.amazonmq.BrokerEndpoint console) {
this.console = console;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerEndpoints#getMqtt}
* @param mqtt The MQTT endpoint of the broker. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder mqtt(io.github.cdklabs.cdk.amazonmq.BrokerEndpoint mqtt) {
this.mqtt = mqtt;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerEndpoints#getOpenWire}
* @param openWire The OpenWire endpoint of the broker. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder openWire(io.github.cdklabs.cdk.amazonmq.BrokerEndpoint openWire) {
this.openWire = openWire;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerEndpoints#getStomp}
* @param stomp The STOMP endpoint of the broker. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder stomp(io.github.cdklabs.cdk.amazonmq.BrokerEndpoint stomp) {
this.stomp = stomp;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerEndpoints#getWss}
* @param wss The WSS endpoint of the broker. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder wss(io.github.cdklabs.cdk.amazonmq.BrokerEndpoint wss) {
this.wss = wss;
return this;
}
/**
* Builds the configured instance.
* @return a new instance of {@link ActiveMqBrokerEndpoints}
* @throws NullPointerException if any required attribute was not provided
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public ActiveMqBrokerEndpoints build() {
return new Jsii$Proxy(this);
}
}
/**
* An implementation for {@link ActiveMqBrokerEndpoints}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ActiveMqBrokerEndpoints {
private final io.github.cdklabs.cdk.amazonmq.BrokerEndpoint amqp;
private final io.github.cdklabs.cdk.amazonmq.BrokerEndpoint console;
private final io.github.cdklabs.cdk.amazonmq.BrokerEndpoint mqtt;
private final io.github.cdklabs.cdk.amazonmq.BrokerEndpoint openWire;
private final io.github.cdklabs.cdk.amazonmq.BrokerEndpoint stomp;
private final io.github.cdklabs.cdk.amazonmq.BrokerEndpoint wss;
/**
* Constructor that initializes the object based on values retrieved from the JsiiObject.
* @param objRef Reference to the JSII managed object.
*/
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
this.amqp = software.amazon.jsii.Kernel.get(this, "amqp", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.BrokerEndpoint.class));
this.console = software.amazon.jsii.Kernel.get(this, "console", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.BrokerEndpoint.class));
this.mqtt = software.amazon.jsii.Kernel.get(this, "mqtt", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.BrokerEndpoint.class));
this.openWire = software.amazon.jsii.Kernel.get(this, "openWire", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.BrokerEndpoint.class));
this.stomp = software.amazon.jsii.Kernel.get(this, "stomp", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.BrokerEndpoint.class));
this.wss = software.amazon.jsii.Kernel.get(this, "wss", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.BrokerEndpoint.class));
}
/**
* Constructor that initializes the object based on literal property values passed by the {@link Builder}.
*/
protected Jsii$Proxy(final Builder builder) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
this.amqp = java.util.Objects.requireNonNull(builder.amqp, "amqp is required");
this.console = java.util.Objects.requireNonNull(builder.console, "console is required");
this.mqtt = java.util.Objects.requireNonNull(builder.mqtt, "mqtt is required");
this.openWire = java.util.Objects.requireNonNull(builder.openWire, "openWire is required");
this.stomp = java.util.Objects.requireNonNull(builder.stomp, "stomp is required");
this.wss = java.util.Objects.requireNonNull(builder.wss, "wss is required");
}
@Override
public final io.github.cdklabs.cdk.amazonmq.BrokerEndpoint getAmqp() {
return this.amqp;
}
@Override
public final io.github.cdklabs.cdk.amazonmq.BrokerEndpoint getConsole() {
return this.console;
}
@Override
public final io.github.cdklabs.cdk.amazonmq.BrokerEndpoint getMqtt() {
return this.mqtt;
}
@Override
public final io.github.cdklabs.cdk.amazonmq.BrokerEndpoint getOpenWire() {
return this.openWire;
}
@Override
public final io.github.cdklabs.cdk.amazonmq.BrokerEndpoint getStomp() {
return this.stomp;
}
@Override
public final io.github.cdklabs.cdk.amazonmq.BrokerEndpoint getWss() {
return this.wss;
}
@Override
@software.amazon.jsii.Internal
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() {
final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE;
final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
data.set("amqp", om.valueToTree(this.getAmqp()));
data.set("console", om.valueToTree(this.getConsole()));
data.set("mqtt", om.valueToTree(this.getMqtt()));
data.set("openWire", om.valueToTree(this.getOpenWire()));
data.set("stomp", om.valueToTree(this.getStomp()));
data.set("wss", om.valueToTree(this.getWss()));
final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
struct.set("fqn", om.valueToTree("@cdklabs/cdk-amazonmq.ActiveMqBrokerEndpoints"));
struct.set("data", data);
final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
obj.set("$jsii.struct", struct);
return obj;
}
@Override
public final boolean equals(final Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ActiveMqBrokerEndpoints.Jsii$Proxy that = (ActiveMqBrokerEndpoints.Jsii$Proxy) o;
if (!amqp.equals(that.amqp)) return false;
if (!console.equals(that.console)) return false;
if (!mqtt.equals(that.mqtt)) return false;
if (!openWire.equals(that.openWire)) return false;
if (!stomp.equals(that.stomp)) return false;
return this.wss.equals(that.wss);
}
@Override
public final int hashCode() {
int result = this.amqp.hashCode();
result = 31 * result + (this.console.hashCode());
result = 31 * result + (this.mqtt.hashCode());
result = 31 * result + (this.openWire.hashCode());
result = 31 * result + (this.stomp.hashCode());
result = 31 * result + (this.wss.hashCode());
return result;
}
}
}