Please wait. This can take some minutes ...
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.
io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerRedundantPairProps Maven / Gradle / Ivy
package io.github.cdklabs.cdk.amazonmq;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.102.0 (build e354887)", date = "2024-08-08T22:30:31.767Z")
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.amazonmq.$Module.class, fqn = "@cdklabs/cdk-amazonmq.ActiveMqBrokerRedundantPairProps")
@software.amazon.jsii.Jsii.Proxy(ActiveMqBrokerRedundantPairProps.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface ActiveMqBrokerRedundantPairProps extends software.amazon.jsii.JsiiSerializable, io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerDeploymentProps {
/**
* @return a {@link Builder} of {@link ActiveMqBrokerRedundantPairProps}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
static Builder builder() {
return new Builder();
}
/**
* A builder for {@link ActiveMqBrokerRedundantPairProps}
*/
@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.IActiveMqBrokerUserManagement userManagement;
io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerEngineVersion version;
io.github.cdklabs.cdk.amazonmq.ActiveMqCloudwatchLogsExports cloudwatchLogsExports;
io.github.cdklabs.cdk.amazonmq.IActiveMqBrokerConfiguration configuration;
java.lang.Number logsRetentionDays;
java.lang.Boolean autoMinorVersionUpgrade;
software.amazon.awscdk.services.ec2.InstanceType instanceType;
java.lang.Boolean publiclyAccessible;
java.lang.String brokerName;
software.amazon.awscdk.services.logs.RetentionDays cloudwatchLogsRetention;
software.amazon.awscdk.services.iam.IRole cloudwatchLogsRetentionRole;
software.amazon.awscdk.services.kms.IKey key;
io.github.cdklabs.cdk.amazonmq.MaintenanceWindowStartTime maintenanceWindowStartTime;
java.util.List securityGroups;
software.amazon.awscdk.services.ec2.IVpc vpc;
software.amazon.awscdk.services.ec2.SubnetSelection vpcSubnets;
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getUserManagement}
* @param userManagement Sets the User Management option for the Amazon MQ for ActiveMQ broker. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder userManagement(io.github.cdklabs.cdk.amazonmq.IActiveMqBrokerUserManagement userManagement) {
this.userManagement = userManagement;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getVersion}
* @param version Sets the version of the Amazon MQ for ActiveMQ broker engine. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder version(io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerEngineVersion version) {
this.version = version;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getCloudwatchLogsExports}
* @param cloudwatchLogsExports Sets the CloudWatch Logs exports for the Amazon MQ for ActiveMQ broker.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder cloudwatchLogsExports(io.github.cdklabs.cdk.amazonmq.ActiveMqCloudwatchLogsExports cloudwatchLogsExports) {
this.cloudwatchLogsExports = cloudwatchLogsExports;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getConfiguration}
* @param configuration Sets the configuration of the Amazon MQ for ActiveMQ broker.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder configuration(io.github.cdklabs.cdk.amazonmq.IActiveMqBrokerConfiguration configuration) {
this.configuration = configuration;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getLogsRetentionDays}
* @param logsRetentionDays Sets the number of days to retain logs for the Amazon MQ for ActiveMQ broker.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder logsRetentionDays(java.lang.Number logsRetentionDays) {
this.logsRetentionDays = logsRetentionDays;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getAutoMinorVersionUpgrade}
* @param autoMinorVersionUpgrade Determines whether the broker will undergo a minor version upgrade during the maintenance window. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder autoMinorVersionUpgrade(java.lang.Boolean autoMinorVersionUpgrade) {
this.autoMinorVersionUpgrade = autoMinorVersionUpgrade;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getInstanceType}
* @param instanceType An instance type to use for the broker. This parameter is required.
* Only a subset of available instance types is allowed.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder instanceType(software.amazon.awscdk.services.ec2.InstanceType instanceType) {
this.instanceType = instanceType;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getPubliclyAccessible}
* @param publiclyAccessible Specifies whether the broker is open to public Internet or deployed with endpoints in own VPC. This parameter is required.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder publiclyAccessible(java.lang.Boolean publiclyAccessible) {
this.publiclyAccessible = publiclyAccessible;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getBrokerName}
* @param brokerName the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder brokerName(java.lang.String brokerName) {
this.brokerName = brokerName;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getCloudwatchLogsRetention}
* @param cloudwatchLogsRetention Sets the retention days for the broker's CloudWatch LogGroups.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder cloudwatchLogsRetention(software.amazon.awscdk.services.logs.RetentionDays cloudwatchLogsRetention) {
this.cloudwatchLogsRetention = cloudwatchLogsRetention;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getCloudwatchLogsRetentionRole}
* @param cloudwatchLogsRetentionRole the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder cloudwatchLogsRetentionRole(software.amazon.awscdk.services.iam.IRole cloudwatchLogsRetentionRole) {
this.cloudwatchLogsRetentionRole = cloudwatchLogsRetentionRole;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getKey}
* @param key the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder key(software.amazon.awscdk.services.kms.IKey key) {
this.key = key;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getMaintenanceWindowStartTime}
* @param maintenanceWindowStartTime the value to be set.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder maintenanceWindowStartTime(io.github.cdklabs.cdk.amazonmq.MaintenanceWindowStartTime maintenanceWindowStartTime) {
this.maintenanceWindowStartTime = maintenanceWindowStartTime;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getSecurityGroups}
* @param securityGroups The Security Groups to apply for a non publicly accessible broker.
* NOTE: This needs to be set only if publiclyAccessible
is true.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@SuppressWarnings("unchecked")
public Builder securityGroups(java.util.List extends software.amazon.awscdk.services.ec2.ISecurityGroup> securityGroups) {
this.securityGroups = (java.util.List)securityGroups;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getVpc}
* @param vpc The VPC in which create the communication endpoints for a private broker.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder vpc(software.amazon.awscdk.services.ec2.IVpc vpc) {
this.vpc = vpc;
return this;
}
/**
* Sets the value of {@link ActiveMqBrokerRedundantPairProps#getVpcSubnets}
* @param vpcSubnets vpcSubnets and vpc are optional.
* But when present - publiclyAccessible attribute must equal false.
* @return {@code this}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public Builder vpcSubnets(software.amazon.awscdk.services.ec2.SubnetSelection vpcSubnets) {
this.vpcSubnets = vpcSubnets;
return this;
}
/**
* Builds the configured instance.
* @return a new instance of {@link ActiveMqBrokerRedundantPairProps}
* @throws NullPointerException if any required attribute was not provided
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public ActiveMqBrokerRedundantPairProps build() {
return new Jsii$Proxy(this);
}
}
/**
* An implementation for {@link ActiveMqBrokerRedundantPairProps}
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ActiveMqBrokerRedundantPairProps {
private final io.github.cdklabs.cdk.amazonmq.IActiveMqBrokerUserManagement userManagement;
private final io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerEngineVersion version;
private final io.github.cdklabs.cdk.amazonmq.ActiveMqCloudwatchLogsExports cloudwatchLogsExports;
private final io.github.cdklabs.cdk.amazonmq.IActiveMqBrokerConfiguration configuration;
private final java.lang.Number logsRetentionDays;
private final java.lang.Boolean autoMinorVersionUpgrade;
private final software.amazon.awscdk.services.ec2.InstanceType instanceType;
private final java.lang.Boolean publiclyAccessible;
private final java.lang.String brokerName;
private final software.amazon.awscdk.services.logs.RetentionDays cloudwatchLogsRetention;
private final software.amazon.awscdk.services.iam.IRole cloudwatchLogsRetentionRole;
private final software.amazon.awscdk.services.kms.IKey key;
private final io.github.cdklabs.cdk.amazonmq.MaintenanceWindowStartTime maintenanceWindowStartTime;
private final java.util.List securityGroups;
private final software.amazon.awscdk.services.ec2.IVpc vpc;
private final software.amazon.awscdk.services.ec2.SubnetSelection vpcSubnets;
/**
* 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.userManagement = software.amazon.jsii.Kernel.get(this, "userManagement", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.IActiveMqBrokerUserManagement.class));
this.version = software.amazon.jsii.Kernel.get(this, "version", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerEngineVersion.class));
this.cloudwatchLogsExports = software.amazon.jsii.Kernel.get(this, "cloudwatchLogsExports", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.ActiveMqCloudwatchLogsExports.class));
this.configuration = software.amazon.jsii.Kernel.get(this, "configuration", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.IActiveMqBrokerConfiguration.class));
this.logsRetentionDays = software.amazon.jsii.Kernel.get(this, "logsRetentionDays", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
this.autoMinorVersionUpgrade = software.amazon.jsii.Kernel.get(this, "autoMinorVersionUpgrade", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.instanceType = software.amazon.jsii.Kernel.get(this, "instanceType", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.InstanceType.class));
this.publiclyAccessible = software.amazon.jsii.Kernel.get(this, "publiclyAccessible", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
this.brokerName = software.amazon.jsii.Kernel.get(this, "brokerName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
this.cloudwatchLogsRetention = software.amazon.jsii.Kernel.get(this, "cloudwatchLogsRetention", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.logs.RetentionDays.class));
this.cloudwatchLogsRetentionRole = software.amazon.jsii.Kernel.get(this, "cloudwatchLogsRetentionRole", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.iam.IRole.class));
this.key = software.amazon.jsii.Kernel.get(this, "key", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.kms.IKey.class));
this.maintenanceWindowStartTime = software.amazon.jsii.Kernel.get(this, "maintenanceWindowStartTime", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.MaintenanceWindowStartTime.class));
this.securityGroups = software.amazon.jsii.Kernel.get(this, "securityGroups", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.ISecurityGroup.class)));
this.vpc = software.amazon.jsii.Kernel.get(this, "vpc", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.IVpc.class));
this.vpcSubnets = software.amazon.jsii.Kernel.get(this, "vpcSubnets", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.SubnetSelection.class));
}
/**
* Constructor that initializes the object based on literal property values passed by the {@link Builder}.
*/
@SuppressWarnings("unchecked")
protected Jsii$Proxy(final Builder builder) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
this.userManagement = java.util.Objects.requireNonNull(builder.userManagement, "userManagement is required");
this.version = java.util.Objects.requireNonNull(builder.version, "version is required");
this.cloudwatchLogsExports = builder.cloudwatchLogsExports;
this.configuration = builder.configuration;
this.logsRetentionDays = builder.logsRetentionDays;
this.autoMinorVersionUpgrade = java.util.Objects.requireNonNull(builder.autoMinorVersionUpgrade, "autoMinorVersionUpgrade is required");
this.instanceType = java.util.Objects.requireNonNull(builder.instanceType, "instanceType is required");
this.publiclyAccessible = java.util.Objects.requireNonNull(builder.publiclyAccessible, "publiclyAccessible is required");
this.brokerName = builder.brokerName;
this.cloudwatchLogsRetention = builder.cloudwatchLogsRetention;
this.cloudwatchLogsRetentionRole = builder.cloudwatchLogsRetentionRole;
this.key = builder.key;
this.maintenanceWindowStartTime = builder.maintenanceWindowStartTime;
this.securityGroups = (java.util.List)builder.securityGroups;
this.vpc = builder.vpc;
this.vpcSubnets = builder.vpcSubnets;
}
@Override
public final io.github.cdklabs.cdk.amazonmq.IActiveMqBrokerUserManagement getUserManagement() {
return this.userManagement;
}
@Override
public final io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerEngineVersion getVersion() {
return this.version;
}
@Override
public final io.github.cdklabs.cdk.amazonmq.ActiveMqCloudwatchLogsExports getCloudwatchLogsExports() {
return this.cloudwatchLogsExports;
}
@Override
public final io.github.cdklabs.cdk.amazonmq.IActiveMqBrokerConfiguration getConfiguration() {
return this.configuration;
}
@Override
public final java.lang.Number getLogsRetentionDays() {
return this.logsRetentionDays;
}
@Override
public final java.lang.Boolean getAutoMinorVersionUpgrade() {
return this.autoMinorVersionUpgrade;
}
@Override
public final software.amazon.awscdk.services.ec2.InstanceType getInstanceType() {
return this.instanceType;
}
@Override
public final java.lang.Boolean getPubliclyAccessible() {
return this.publiclyAccessible;
}
@Override
public final java.lang.String getBrokerName() {
return this.brokerName;
}
@Override
public final software.amazon.awscdk.services.logs.RetentionDays getCloudwatchLogsRetention() {
return this.cloudwatchLogsRetention;
}
@Override
public final software.amazon.awscdk.services.iam.IRole getCloudwatchLogsRetentionRole() {
return this.cloudwatchLogsRetentionRole;
}
@Override
public final software.amazon.awscdk.services.kms.IKey getKey() {
return this.key;
}
@Override
public final io.github.cdklabs.cdk.amazonmq.MaintenanceWindowStartTime getMaintenanceWindowStartTime() {
return this.maintenanceWindowStartTime;
}
@Override
public final java.util.List getSecurityGroups() {
return this.securityGroups;
}
@Override
public final software.amazon.awscdk.services.ec2.IVpc getVpc() {
return this.vpc;
}
@Override
public final software.amazon.awscdk.services.ec2.SubnetSelection getVpcSubnets() {
return this.vpcSubnets;
}
@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("userManagement", om.valueToTree(this.getUserManagement()));
data.set("version", om.valueToTree(this.getVersion()));
if (this.getCloudwatchLogsExports() != null) {
data.set("cloudwatchLogsExports", om.valueToTree(this.getCloudwatchLogsExports()));
}
if (this.getConfiguration() != null) {
data.set("configuration", om.valueToTree(this.getConfiguration()));
}
if (this.getLogsRetentionDays() != null) {
data.set("logsRetentionDays", om.valueToTree(this.getLogsRetentionDays()));
}
data.set("autoMinorVersionUpgrade", om.valueToTree(this.getAutoMinorVersionUpgrade()));
data.set("instanceType", om.valueToTree(this.getInstanceType()));
data.set("publiclyAccessible", om.valueToTree(this.getPubliclyAccessible()));
if (this.getBrokerName() != null) {
data.set("brokerName", om.valueToTree(this.getBrokerName()));
}
if (this.getCloudwatchLogsRetention() != null) {
data.set("cloudwatchLogsRetention", om.valueToTree(this.getCloudwatchLogsRetention()));
}
if (this.getCloudwatchLogsRetentionRole() != null) {
data.set("cloudwatchLogsRetentionRole", om.valueToTree(this.getCloudwatchLogsRetentionRole()));
}
if (this.getKey() != null) {
data.set("key", om.valueToTree(this.getKey()));
}
if (this.getMaintenanceWindowStartTime() != null) {
data.set("maintenanceWindowStartTime", om.valueToTree(this.getMaintenanceWindowStartTime()));
}
if (this.getSecurityGroups() != null) {
data.set("securityGroups", om.valueToTree(this.getSecurityGroups()));
}
if (this.getVpc() != null) {
data.set("vpc", om.valueToTree(this.getVpc()));
}
if (this.getVpcSubnets() != null) {
data.set("vpcSubnets", om.valueToTree(this.getVpcSubnets()));
}
final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
struct.set("fqn", om.valueToTree("@cdklabs/cdk-amazonmq.ActiveMqBrokerRedundantPairProps"));
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;
ActiveMqBrokerRedundantPairProps.Jsii$Proxy that = (ActiveMqBrokerRedundantPairProps.Jsii$Proxy) o;
if (!userManagement.equals(that.userManagement)) return false;
if (!version.equals(that.version)) return false;
if (this.cloudwatchLogsExports != null ? !this.cloudwatchLogsExports.equals(that.cloudwatchLogsExports) : that.cloudwatchLogsExports != null) return false;
if (this.configuration != null ? !this.configuration.equals(that.configuration) : that.configuration != null) return false;
if (this.logsRetentionDays != null ? !this.logsRetentionDays.equals(that.logsRetentionDays) : that.logsRetentionDays != null) return false;
if (!autoMinorVersionUpgrade.equals(that.autoMinorVersionUpgrade)) return false;
if (!instanceType.equals(that.instanceType)) return false;
if (!publiclyAccessible.equals(that.publiclyAccessible)) return false;
if (this.brokerName != null ? !this.brokerName.equals(that.brokerName) : that.brokerName != null) return false;
if (this.cloudwatchLogsRetention != null ? !this.cloudwatchLogsRetention.equals(that.cloudwatchLogsRetention) : that.cloudwatchLogsRetention != null) return false;
if (this.cloudwatchLogsRetentionRole != null ? !this.cloudwatchLogsRetentionRole.equals(that.cloudwatchLogsRetentionRole) : that.cloudwatchLogsRetentionRole != null) return false;
if (this.key != null ? !this.key.equals(that.key) : that.key != null) return false;
if (this.maintenanceWindowStartTime != null ? !this.maintenanceWindowStartTime.equals(that.maintenanceWindowStartTime) : that.maintenanceWindowStartTime != null) return false;
if (this.securityGroups != null ? !this.securityGroups.equals(that.securityGroups) : that.securityGroups != null) return false;
if (this.vpc != null ? !this.vpc.equals(that.vpc) : that.vpc != null) return false;
return this.vpcSubnets != null ? this.vpcSubnets.equals(that.vpcSubnets) : that.vpcSubnets == null;
}
@Override
public final int hashCode() {
int result = this.userManagement.hashCode();
result = 31 * result + (this.version.hashCode());
result = 31 * result + (this.cloudwatchLogsExports != null ? this.cloudwatchLogsExports.hashCode() : 0);
result = 31 * result + (this.configuration != null ? this.configuration.hashCode() : 0);
result = 31 * result + (this.logsRetentionDays != null ? this.logsRetentionDays.hashCode() : 0);
result = 31 * result + (this.autoMinorVersionUpgrade.hashCode());
result = 31 * result + (this.instanceType.hashCode());
result = 31 * result + (this.publiclyAccessible.hashCode());
result = 31 * result + (this.brokerName != null ? this.brokerName.hashCode() : 0);
result = 31 * result + (this.cloudwatchLogsRetention != null ? this.cloudwatchLogsRetention.hashCode() : 0);
result = 31 * result + (this.cloudwatchLogsRetentionRole != null ? this.cloudwatchLogsRetentionRole.hashCode() : 0);
result = 31 * result + (this.key != null ? this.key.hashCode() : 0);
result = 31 * result + (this.maintenanceWindowStartTime != null ? this.maintenanceWindowStartTime.hashCode() : 0);
result = 31 * result + (this.securityGroups != null ? this.securityGroups.hashCode() : 0);
result = 31 * result + (this.vpc != null ? this.vpc.hashCode() : 0);
result = 31 * result + (this.vpcSubnets != null ? this.vpcSubnets.hashCode() : 0);
return result;
}
}
}