in multiple-languages/java/ros-cdk-ess/src/main/java/com/aliyun/ros/cdk/ess/RosEciScalingConfiguration.java [3103:3146]
public final boolean equals(final Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ContainersProperty.Jsii$Proxy that = (ContainersProperty.Jsii$Proxy) o;
if (!image.equals(that.image)) return false;
if (!name.equals(that.name)) return false;
if (this.args != null ? !this.args.equals(that.args) : that.args != null) return false;
if (this.commands != null ? !this.commands.equals(that.commands) : that.commands != null) return false;
if (this.cpu != null ? !this.cpu.equals(that.cpu) : that.cpu != null) return false;
if (this.environmentVars != null ? !this.environmentVars.equals(that.environmentVars) : that.environmentVars != null) return false;
if (this.gpu != null ? !this.gpu.equals(that.gpu) : that.gpu != null) return false;
if (this.imagePullPolicy != null ? !this.imagePullPolicy.equals(that.imagePullPolicy) : that.imagePullPolicy != null) return false;
if (this.livenessProbeExecCommands != null ? !this.livenessProbeExecCommands.equals(that.livenessProbeExecCommands) : that.livenessProbeExecCommands != null) return false;
if (this.livenessProbeFailureThreshold != null ? !this.livenessProbeFailureThreshold.equals(that.livenessProbeFailureThreshold) : that.livenessProbeFailureThreshold != null) return false;
if (this.livenessProbeHttpGetPath != null ? !this.livenessProbeHttpGetPath.equals(that.livenessProbeHttpGetPath) : that.livenessProbeHttpGetPath != null) return false;
if (this.livenessProbeHttpGetPort != null ? !this.livenessProbeHttpGetPort.equals(that.livenessProbeHttpGetPort) : that.livenessProbeHttpGetPort != null) return false;
if (this.livenessProbeHttpGetScheme != null ? !this.livenessProbeHttpGetScheme.equals(that.livenessProbeHttpGetScheme) : that.livenessProbeHttpGetScheme != null) return false;
if (this.livenessProbeInitialDelaySeconds != null ? !this.livenessProbeInitialDelaySeconds.equals(that.livenessProbeInitialDelaySeconds) : that.livenessProbeInitialDelaySeconds != null) return false;
if (this.livenessProbePeriodSeconds != null ? !this.livenessProbePeriodSeconds.equals(that.livenessProbePeriodSeconds) : that.livenessProbePeriodSeconds != null) return false;
if (this.livenessProbeSuccessThreshold != null ? !this.livenessProbeSuccessThreshold.equals(that.livenessProbeSuccessThreshold) : that.livenessProbeSuccessThreshold != null) return false;
if (this.livenessProbeTcpSocketPort != null ? !this.livenessProbeTcpSocketPort.equals(that.livenessProbeTcpSocketPort) : that.livenessProbeTcpSocketPort != null) return false;
if (this.livenessProbeTimeoutSeconds != null ? !this.livenessProbeTimeoutSeconds.equals(that.livenessProbeTimeoutSeconds) : that.livenessProbeTimeoutSeconds != null) return false;
if (this.memory != null ? !this.memory.equals(that.memory) : that.memory != null) return false;
if (this.ports != null ? !this.ports.equals(that.ports) : that.ports != null) return false;
if (this.readinessProbeExecCommands != null ? !this.readinessProbeExecCommands.equals(that.readinessProbeExecCommands) : that.readinessProbeExecCommands != null) return false;
if (this.readinessProbeFailureThreshold != null ? !this.readinessProbeFailureThreshold.equals(that.readinessProbeFailureThreshold) : that.readinessProbeFailureThreshold != null) return false;
if (this.readinessProbeHttpGetPath != null ? !this.readinessProbeHttpGetPath.equals(that.readinessProbeHttpGetPath) : that.readinessProbeHttpGetPath != null) return false;
if (this.readinessProbeHttpGetPort != null ? !this.readinessProbeHttpGetPort.equals(that.readinessProbeHttpGetPort) : that.readinessProbeHttpGetPort != null) return false;
if (this.readinessProbeHttpGetScheme != null ? !this.readinessProbeHttpGetScheme.equals(that.readinessProbeHttpGetScheme) : that.readinessProbeHttpGetScheme != null) return false;
if (this.readinessProbeInitialDelaySeconds != null ? !this.readinessProbeInitialDelaySeconds.equals(that.readinessProbeInitialDelaySeconds) : that.readinessProbeInitialDelaySeconds != null) return false;
if (this.readinessProbePeriodSeconds != null ? !this.readinessProbePeriodSeconds.equals(that.readinessProbePeriodSeconds) : that.readinessProbePeriodSeconds != null) return false;
if (this.readinessProbeSuccessThreshold != null ? !this.readinessProbeSuccessThreshold.equals(that.readinessProbeSuccessThreshold) : that.readinessProbeSuccessThreshold != null) return false;
if (this.readinessProbeTcpSocketPort != null ? !this.readinessProbeTcpSocketPort.equals(that.readinessProbeTcpSocketPort) : that.readinessProbeTcpSocketPort != null) return false;
if (this.readinessProbeTimeoutSeconds != null ? !this.readinessProbeTimeoutSeconds.equals(that.readinessProbeTimeoutSeconds) : that.readinessProbeTimeoutSeconds != null) return false;
if (this.securityContextCapabilitiesAdd != null ? !this.securityContextCapabilitiesAdd.equals(that.securityContextCapabilitiesAdd) : that.securityContextCapabilitiesAdd != null) return false;
if (this.securityContextRunAsUser != null ? !this.securityContextRunAsUser.equals(that.securityContextRunAsUser) : that.securityContextRunAsUser != null) return false;
if (this.stdin != null ? !this.stdin.equals(that.stdin) : that.stdin != null) return false;
if (this.stdinOnce != null ? !this.stdinOnce.equals(that.stdinOnce) : that.stdinOnce != null) return false;
if (this.tty != null ? !this.tty.equals(that.tty) : that.tty != null) return false;
if (this.volumeMounts != null ? !this.volumeMounts.equals(that.volumeMounts) : that.volumeMounts != null) return false;
return this.workingDir != null ? this.workingDir.equals(that.workingDir) : that.workingDir == null;
}