in multiple-languages/java/ros-cdk-emr/src/main/java/com/aliyun/ros/cdk/emr/ClusterProps.java [1757:1804]
public final boolean equals(final Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ClusterProps.Jsii$Proxy that = (ClusterProps.Jsii$Proxy) o;
if (!chargeType.equals(that.chargeType)) return false;
if (!clusterType.equals(that.clusterType)) return false;
if (!emrVer.equals(that.emrVer)) return false;
if (!hostGroup.equals(that.hostGroup)) return false;
if (!name.equals(that.name)) return false;
if (!netType.equals(that.netType)) return false;
if (!useLocalMetaDb.equals(that.useLocalMetaDb)) return false;
if (!zoneId.equals(that.zoneId)) return false;
if (this.authorizeContent != null ? !this.authorizeContent.equals(that.authorizeContent) : that.authorizeContent != null) return false;
if (this.autoRenew != null ? !this.autoRenew.equals(that.autoRenew) : that.autoRenew != null) return false;
if (this.bootstrapAction != null ? !this.bootstrapAction.equals(that.bootstrapAction) : that.bootstrapAction != null) return false;
if (this.clickHouseConf != null ? !this.clickHouseConf.equals(that.clickHouseConf) : that.clickHouseConf != null) return false;
if (this.config != null ? !this.config.equals(that.config) : that.config != null) return false;
if (this.configurations != null ? !this.configurations.equals(that.configurations) : that.configurations != null) return false;
if (this.depositType != null ? !this.depositType.equals(that.depositType) : that.depositType != null) return false;
if (this.easEnable != null ? !this.easEnable.equals(that.easEnable) : that.easEnable != null) return false;
if (this.highAvailabilityEnable != null ? !this.highAvailabilityEnable.equals(that.highAvailabilityEnable) : that.highAvailabilityEnable != null) return false;
if (this.initCustomHiveMetaDb != null ? !this.initCustomHiveMetaDb.equals(that.initCustomHiveMetaDb) : that.initCustomHiveMetaDb != null) return false;
if (this.instanceGeneration != null ? !this.instanceGeneration.equals(that.instanceGeneration) : that.instanceGeneration != null) return false;
if (this.ioOptimized != null ? !this.ioOptimized.equals(that.ioOptimized) : that.ioOptimized != null) return false;
if (this.isOpenPublicIp != null ? !this.isOpenPublicIp.equals(that.isOpenPublicIp) : that.isOpenPublicIp != null) return false;
if (this.keyPairName != null ? !this.keyPairName.equals(that.keyPairName) : that.keyPairName != null) return false;
if (this.logPath != null ? !this.logPath.equals(that.logPath) : that.logPath != null) return false;
if (this.machineType != null ? !this.machineType.equals(that.machineType) : that.machineType != null) return false;
if (this.masterPwd != null ? !this.masterPwd.equals(that.masterPwd) : that.masterPwd != null) return false;
if (this.metaStoreConf != null ? !this.metaStoreConf.equals(that.metaStoreConf) : that.metaStoreConf != null) return false;
if (this.metaStoreType != null ? !this.metaStoreType.equals(that.metaStoreType) : that.metaStoreType != null) return false;
if (this.optionSoftWareList != null ? !this.optionSoftWareList.equals(that.optionSoftWareList) : that.optionSoftWareList != null) return false;
if (this.period != null ? !this.period.equals(that.period) : that.period != null) return false;
if (this.relatedClusterId != null ? !this.relatedClusterId.equals(that.relatedClusterId) : that.relatedClusterId != null) return false;
if (this.resourceGroupId != null ? !this.resourceGroupId.equals(that.resourceGroupId) : that.resourceGroupId != null) return false;
if (this.securityGroupId != null ? !this.securityGroupId.equals(that.securityGroupId) : that.securityGroupId != null) return false;
if (this.securityGroupName != null ? !this.securityGroupName.equals(that.securityGroupName) : that.securityGroupName != null) return false;
if (this.sshEnable != null ? !this.sshEnable.equals(that.sshEnable) : that.sshEnable != null) return false;
if (this.tags != null ? !this.tags.equals(that.tags) : that.tags != null) return false;
if (this.useCustomHiveMetaDb != null ? !this.useCustomHiveMetaDb.equals(that.useCustomHiveMetaDb) : that.useCustomHiveMetaDb != null) return false;
if (this.userDefinedEmrEcsRole != null ? !this.userDefinedEmrEcsRole.equals(that.userDefinedEmrEcsRole) : that.userDefinedEmrEcsRole != null) return false;
if (this.userInfo != null ? !this.userInfo.equals(that.userInfo) : that.userInfo != null) return false;
if (this.vpcId != null ? !this.vpcId.equals(that.vpcId) : that.vpcId != null) return false;
if (this.vSwitchId != null ? !this.vSwitchId.equals(that.vSwitchId) : that.vSwitchId != null) return false;
return this.whiteListType != null ? this.whiteListType.equals(that.whiteListType) : that.whiteListType == null;
}