public boolean equals()

in java21/event-bridge-maven/{{cookiecutter.project_name}}/HelloWorldFunction/src/main/java/model/aws.ec2/EC2InstanceStateChangeNotification.java [46:56]


    public boolean equals(java.lang.Object o) {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        EC2InstanceStateChangeNotification ec2InstanceStateChangeNotification = (EC2InstanceStateChangeNotification) o;
        return Objects.equals(this.instanceId, ec2InstanceStateChangeNotification.instanceId) &&
                Objects.equals(this.state, ec2InstanceStateChangeNotification.state);
    }